Поделиться через


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 - пространство имен