DocumentPageView.GetService(Type) Yöntem

Tanım

Belirtilen türdeki hizmet nesnesini alır.

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

Parametreler

serviceType
Type

Alınacak hizmet nesnesinin türü.

Döndürülenler

türünde serviceTypebir hizmet nesnesi veya null türünde bir hizmet nesnesi serviceTypeyoksa.

Açıklamalar

GetService, uygulaması DocumentPaginatordurumunda DocumentPaginator sağladığı tüm hizmetleri IServiceProvider döndürür.

Şunlara uygulanır