次の方法で共有


ElementPropertyDescriptor Constructor (ModelElement, DomainPropertyInfo, array<Attribute )

Initializes a new instance of the ElementPropertyDescriptor class.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣言
Public Sub New ( _
    modelElement As ModelElement, _
    domainProperty As DomainPropertyInfo, _
    attributes As Attribute() _
)
public ElementPropertyDescriptor(
    ModelElement modelElement,
    DomainPropertyInfo domainProperty,
    Attribute[] attributes
)
public:
ElementPropertyDescriptor(
    ModelElement^ modelElement, 
    DomainPropertyInfo^ domainProperty, 
    array<Attribute^>^ attributes
)
new : 
        modelElement:ModelElement * 
        domainProperty:DomainPropertyInfo * 
        attributes:Attribute[] -> ElementPropertyDescriptor
public function ElementPropertyDescriptor(
    modelElement : ModelElement, 
    domainProperty : DomainPropertyInfo, 
    attributes : Attribute[]
)

Parameters

  • attributes
    Type: array<System.Attribute[]
    The attributes to associate with the domain property.

Exceptions

Exception Condition
ArgumentNullException

domainProperty is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ElementPropertyDescriptor Class

ElementPropertyDescriptor Overload

Microsoft.VisualStudio.Modeling.Design Namespace

ModelElement