Udostępnij za pośrednictwem


Konstruktor RolePlayerPropertyDescriptor — (ModelElement, DomainRoleInfo, array<Attribute )

Inicjuje nowe wystąpienie RolePlayerPropertyDescriptor klasy.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Design
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (w Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Składnia

'Deklaracja
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[]
    Modyfikowanie właściwości deskryptora zachowanie atrybutów.

Wyjątki

Wyjątek Warunek
ArgumentNullException

The sourcePlayer or domainRole parameter is nullodwołanie o wartości null (Nothing w języku Visual Basic).

NotSupportedException

Rola domeny nie ma nazwy.

ArgumentException

Rola domeny nie ma liczebność, zero do jednego lub jeden do jednego.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

RolePlayerPropertyDescriptor Klasa

Przeciążenie RolePlayerPropertyDescriptor

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Design

DisplayName

DomainRoleInfo

Link

SourcePlayer

Store