DocumentPageView.IServiceProvider.GetService(Type) 方法

定義

此成員支援Windows Presentation Foundation (WPF) 基礎結構,而且不適合直接從程式碼使用。 請改用類型安全的 GetService(Type) 方法。

 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

參數

serviceType
Type

物件,指定要取得的服務物件類型。

傳回

Object

型別 serviceType 的服務物件。

實作

適用於