共用方式為


XamlServiceProvider.GetService(Type) 方法

定義

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

參數

serviceType
Type

傳回

實作

適用於