DocumentPageView.GetService(Type) メソッド

定義

指定した型のサービス オブジェクトを取得します。

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

パラメーター

serviceType
Type

取得するサービス オブジェクトの型。

返品

serviceType型のサービス オブジェクト。serviceType型のサービス オブジェクトがない場合はnull

注釈

GetServiceは、DocumentPaginatorIServiceProviderを実装する場合にDocumentPaginatorが提供するすべてのサービスを返します。

適用対象