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.GuidA 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.