共用方式為


CodeDomDocDataAdapter.GetService(Type) Method

Definition

Gets the service of the specified type.

protected:
 System::Object ^ GetService(Type ^ serviceType);
protected:
 Platform::Object ^ GetService(Platform::Type ^ serviceType);
protected object GetService (Type serviceType);
member this.GetService : Type -> obj
Protected Function GetService (serviceType As Type) As Object

Parameters

serviceType
Type

The type of the service to get.

Returns

The object representing the specified service, or null if none is available.

Applies to