ActivityDesigner.GetService(Type) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
嘗試從設計模式網站取得與設計師相關活動所需的指定服務類型。
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
該申請的服務類型。
傳回
若服務無法解析,則是一個實作所請求服務的物件,或是空參考(Nothing in Visual Basic)。