Share via


TrackingPropertyDescriptor Constructor (ElementTypeDescriptor, ModelElement, DomainPropertyInfo, DomainPropertyInfo, array<Attribute )

Initializes a new instance of the TrackingPropertyDescriptor class and specifies a default value provider.

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

Syntax

'Declaration
Public Sub New ( _
    owner As ElementTypeDescriptor, _
    modelElement As ModelElement, _
    domainProperty As DomainPropertyInfo, _
    trackingProperty As DomainPropertyInfo, _
    attributes As Attribute() _
)
public TrackingPropertyDescriptor(
    ElementTypeDescriptor owner,
    ModelElement modelElement,
    DomainPropertyInfo domainProperty,
    DomainPropertyInfo trackingProperty,
    Attribute[] attributes
)
public:
TrackingPropertyDescriptor(
    ElementTypeDescriptor^ owner, 
    ModelElement^ modelElement, 
    DomainPropertyInfo^ domainProperty, 
    DomainPropertyInfo^ trackingProperty, 
    array<Attribute^>^ attributes
)
new : 
        owner:ElementTypeDescriptor * 
        modelElement:ModelElement * 
        domainProperty:DomainPropertyInfo * 
        trackingProperty:DomainPropertyInfo * 
        attributes:Attribute[] -> TrackingPropertyDescriptor
public function TrackingPropertyDescriptor(
    owner : ElementTypeDescriptor, 
    modelElement : ModelElement, 
    domainProperty : DomainPropertyInfo, 
    trackingProperty : DomainPropertyInfo, 
    attributes : Attribute[]
)

Parameters

  • attributes
    Type: array<System.Attribute[]

    The attributes to associate with the domain property.

Exceptions

Exception Condition
ArgumentNullException

The owner, domainProperty, or trackingProperty parameter is nulla null reference (Nothing in Visual Basic).

Remarks

The owner can provide default values for the described domain property.

.NET Framework Security

See Also

Reference

TrackingPropertyDescriptor Class

TrackingPropertyDescriptor Overload

Microsoft.VisualStudio.Modeling.Design Namespace