Compartilhar via


DataClientObject<T>.IServiceProvider.GetService(Type) Method

Definition

Retrieves the service corresponding to the service type specified.

 virtual System::Object ^ System.IServiceProvider.GetService(Type ^ serviceType) = IServiceProvider::GetService;
object IServiceProvider.GetService (Type serviceType);
abstract member System.IServiceProvider.GetService : Type -> obj
override this.System.IServiceProvider.GetService : Type -> obj
Function GetService (serviceType As Type) As Object Implements IServiceProvider.GetService

Parameters

serviceType
Type

The type of service to return.

Returns

A service object that corresponds to the service type specified.

Implements

Applies to