Sdílet prostřednictvím


RolePlayerPropertyDescriptor – konstruktor (ModelElement, DomainRoleInfo, array<Attribute )

Vytvoří novou instanci třídy RolePlayerPropertyDescriptor.

Obor názvů:  Microsoft.VisualStudio.Modeling.Design
Sestavení:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (v Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntaxe

'Deklarace
Public Sub New ( _
    element As ModelElement, _
    domainRole As DomainRoleInfo, _
    domainRoleInfoAttributes As Attribute() _
)
public RolePlayerPropertyDescriptor(
    ModelElement element,
    DomainRoleInfo domainRole,
    Attribute[] domainRoleInfoAttributes
)

Parametry

  • domainRoleInfoAttributes
    Typ: array<System.Attribute[]
    Úprava vlastností popisovač chování atributy.

Výjimky

Výjimka Podmínka
ArgumentNullException

The sourcePlayer or domainRole parameter is nullodkaz null (Nothing v jazyce Visual Basic).

NotSupportedException

Role domény nemá název.

ArgumentException

Role domény nemá násobnost nula na jedno nebo 1: 1.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

RolePlayerPropertyDescriptor Třída

RolePlayerPropertyDescriptor – přetížení

Microsoft.VisualStudio.Modeling.Design – obor názvů

DisplayName

DomainRoleInfo

Link

SourcePlayer

Store