次の方法で共有


ElementTypeDescriptor.CreateRolePlayerPropertyDescriptor メソッド

モデル要素のロール プロパティの記述子を作成します。

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

構文

'宣言
Protected Overridable Function CreateRolePlayerPropertyDescriptor ( _
    sourceRolePlayer As ModelElement, _
    targetRoleInfo As DomainRoleInfo, _
    sourceDomainRoleInfoAttributes As Attribute() _
) As RolePlayerPropertyDescriptor
protected virtual RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor(
    ModelElement sourceRolePlayer,
    DomainRoleInfo targetRoleInfo,
    Attribute[] sourceDomainRoleInfoAttributes
)

パラメーター

  • sourceDomainRoleInfoAttributes
    型 : array<System.Attribute[]
    ソース ロール プロパティに適用する属性を格納する配列。

戻り値

型 : Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
モデル要素のロール プロパティの記述子。

.NET Framework セキュリティ

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

参照

関連項目

ElementTypeDescriptor クラス

Microsoft.VisualStudio.Modeling.Design 名前空間