共用方式為


IAddInExtension.RequestService(Guid) Method

Definition

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

public:
 System::Object ^ RequestService(Guid serviceGuid);
public object RequestService (Guid serviceGuid);
abstract member RequestService : Guid -> obj
Public Function RequestService (serviceGuid As Guid) As Object

Parameters

serviceGuid
Guid

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

Returns

An object that implements the extensibility interface that is identified by serviceGuid.

Remarks

For more information about this method, see Microsoft.Office.Tools.AddInBase.RequestService.

Applies to