Partilhar via


Construtor RolePlayerPropertyDescriptor (ModelElement, DomainRoleInfo, array<Attribute[])

Inicializa uma nova instância da classe RolePlayerPropertyDescriptor.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (em Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Sintaxe

'Declaração
Public Sub New ( _
    element As ModelElement, _
    domainRole As DomainRoleInfo, _
    domainRoleInfoAttributes As Attribute() _
)
public RolePlayerPropertyDescriptor(
    ModelElement element,
    DomainRoleInfo domainRole,
    Attribute[] domainRoleInfoAttributes
)

Parâmetros

  • domainRoleInfoAttributes
    Tipo: array<System.Attribute[]
    Modificando o comportamento da propriedade descritor de atributos.

Exceções

Exceção Condição
ArgumentNullException

The sourcePlayer or domainRole parameter is nulluma referência nula (Nothing no Visual Basic).

NotSupportedException

A função de domínio não tem um nome.

ArgumentException

A função de domínio não tem uma multiplicidade de zero-para-um ou de um para um.

Segurança do .NET Framework

Consulte também

Referência

RolePlayerPropertyDescriptor Classe

Sobrecargas RolePlayerPropertyDescriptor

Namespace Microsoft.VisualStudio.Modeling.Design

DisplayName

DomainRoleInfo

Link

SourcePlayer

Store