IWorkbookExtension.RequestService Method
Returns an object that implements the Microsoft.Office.Core.IRibbonExtensibility interface.
Namespace: Microsoft.Office.Tools.Excel
Assemblies: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.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 WorkbookBase.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.