DslDefinitionModelElementTypeDescriptor.CreateRolePlayerPropertyDescriptor 方法

描述在网格中显示关系和角色的创建 PropertyDescriptor 方法。

命名空间:  Microsoft.VisualStudio.Modeling.DslDefinition.Design
程序集:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

语法

声明
Protected Overrides Function CreateRolePlayerPropertyDescriptor ( _
    sourceRolePlayer As ModelElement, _
    targetRoleInfo As DomainRoleInfo, _
    sourceDomainRoleInfoAttributes As Attribute() _
) As RolePlayerPropertyDescriptor
protected override RolePlayerPropertyDescriptor CreateRolePlayerPropertyDescriptor(
    ModelElement sourceRolePlayer,
    DomainRoleInfo targetRoleInfo,
    Attribute[] sourceDomainRoleInfoAttributes
)

参数

  • sourceDomainRoleInfoAttributes
    类型:array<System.Attribute[]
    在源 DomainRoleInfo 上的属性

返回值

类型:Microsoft.VisualStudio.Modeling.Design.RolePlayerPropertyDescriptor
RolePlayerPropertyDescriptor

.NET Framework 安全性

请参阅

参考

DslDefinitionModelElementTypeDescriptor 类

Microsoft.VisualStudio.Modeling.DslDefinition.Design 命名空间