DomainDataDirectory.GetDomainClass メソッド (Type)

実装の種類によってドメイン クラスを取得します。

名前空間:  Microsoft.VisualStudio.Modeling
アセンブリ:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (Microsoft.VisualStudio.Modeling.Sdk.11.0.dll 内)

構文

'宣言
Public Function GetDomainClass ( _
    type As Type _
) As DomainClassInfo
public DomainClassInfo GetDomainClass(
    Type type
)

パラメーター

  • type
    型 : System.Type
    ドメイン クラスの実装の型。

戻り値

型 : Microsoft.VisualStudio.Modeling.DomainClassInfo
指定した型の DomainClassInfo のオブジェクト。

例外

例外 条件
ArgumentNullException

nullnull 参照 (Visual Basic では Nothing) の参照 (Visual Basic では)Nothing が引数として渡された。

DomainDataNotFoundException

要求されたドメイン クラスがない場合。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

DomainDataDirectory クラス

GetDomainClass オーバーロード

Microsoft.VisualStudio.Modeling 名前空間