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


RolePlayerPropertyDescriptor - конструктор (ModelElement, DomainRoleInfo, array<Attribute )

Инициализирует новый экземпляр класса RolePlayerPropertyDescriptor.

Пространство имен:  Microsoft.VisualStudio.Modeling.Design
Сборка:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (в Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Синтаксис

'Декларация
Public Sub New ( _
    element As ModelElement, _
    domainRole As DomainRoleInfo, _
    domainRoleInfoAttributes As Attribute() _
)
public RolePlayerPropertyDescriptor(
    ModelElement element,
    DomainRoleInfo domainRole,
    Attribute[] domainRoleInfoAttributes
)

Параметры

  • domainRoleInfoAttributes
    Тип: array<System.Attribute[]
    Атрибуты изменение расширения функциональности дескриптора свойства.

Исключения

Исключение Условие
ArgumentNullException

Значение параметра sourcePlayer или domainRole — nullссылка NULL (Nothing в Visual Basic).

NotSupportedException

Роль домена не имеющий имя.

ArgumentException

Роль домена не имеет количество элементов нул-к-одн или взаимнооднозначному.

Безопасность платформы .NET Framework

См. также

Ссылки

RolePlayerPropertyDescriptor Класс

RolePlayerPropertyDescriptor - перегрузка

Microsoft.VisualStudio.Modeling.Design - пространство имен

DisplayName

DomainRoleInfo

Link

SourcePlayer

Store