共用方式為


DocData.GetService(Type) Method

Definition

Return the requested service.

public:
 virtual System::Object ^ GetService(Type ^ serviceType);
public virtual object GetService (Type serviceType);
abstract member GetService : Type -> obj
override this.GetService : Type -> obj
Public Overridable Function GetService (serviceType As Type) As Object

Parameters

serviceType
Type

The type of service being requested

Returns

An object representing the requested service

Implements

Remarks

Implemented as override point so derived classes can provide local services

Applies to