IDocumentExtension.RequestService Method
Returns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface.
Namespace: Microsoft.Office.Tools.Word
Assemblies: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.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 the Microsoft.Office.Core.IRibbonExtensibility interface.
Return Value
Type: System.Object
For more information about this method, see DocumentBase.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.