Partager via


IAddInExtension.RequestService Method

Returns an object that extends a feature in a Microsoft Office application.

Namespace:  Microsoft.Office.Tools
Assemblies:   Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
  Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

Syntax

'Declaration
Function RequestService ( _
    serviceGuid As Guid _
) As Object
Object RequestService(
    Guid serviceGuid
)

Parameters

  • serviceGuid
    Type: System.Guid

    A Guid that identifies an extensibility interface that is supported by Microsoft Office applications.

Return Value

Type: System.Object
An object that implements the extensibility interface that is identified by serviceGuid.

Remarks

For more information about this method, see AddInBase.RequestService.

.NET Framework Security

See Also

Reference

IAddInExtension Interface

Microsoft.Office.Tools Namespace