IAddInExtension.RequestService Method
Returns an object that extends a feature in a Microsoft Office application.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.