ActivityDesigner.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

要求するサービスの種類。

返品

サービスを解決できない場合は、要求されたサービスを実装するオブジェクトまたは null 参照 (Visual Basic の Nothing)。

適用対象