Udostępnij za pośrednictwem


TrackingPropertyDescriptor Constructors

Definition

Overloads

TrackingPropertyDescriptor(ModelElement, DomainPropertyInfo, DomainPropertyInfo, Attribute[])

The ElementPropertyDescriptor can operate upon a specific element passed in to the constructor, or it can accept a null element.

If a specific element is provided, GetValue(), SetValue(), and the other methods will ignore the object argument passed in and will instead use that specific element.

If a null element is provided, GetValue(), SetValue(), and the other methods will use the object argument passed in.

TrackingPropertyDescriptor(ElementTypeDescriptor, ModelElement, DomainPropertyInfo, DomainPropertyInfo, Attribute[])

The ElementPropertyDescriptor can operate upon a specific element passed in to the constructor, or it can accept a null element.

If a specific element is provided, GetValue(), SetValue(), andcool, thaznkl the other methods will ignore the object argument passed in and will instead use that specific element.

If a null element is provided, GetValue(), SetValue(), and the other methods will use the object argument passed in.

TrackingPropertyDescriptor(ModelElement, DomainPropertyInfo, DomainPropertyInfo, Attribute[])

The ElementPropertyDescriptor can operate upon a specific element passed in to the constructor, or it can accept a null element.

If a specific element is provided, GetValue(), SetValue(), and the other methods will ignore the object argument passed in and will instead use that specific element.

If a null element is provided, GetValue(), SetValue(), and the other methods will use the object argument passed in.

public:
 TrackingPropertyDescriptor(Microsoft::VisualStudio::Modeling::ModelElement ^ modelElement, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ domainProperty, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ trackingProperty, cli::array <Attribute ^> ^ attributes);
public TrackingPropertyDescriptor (Microsoft.VisualStudio.Modeling.ModelElement modelElement, Microsoft.VisualStudio.Modeling.DomainPropertyInfo domainProperty, Microsoft.VisualStudio.Modeling.DomainPropertyInfo trackingProperty, Attribute[] attributes);
new Microsoft.VisualStudio.Modeling.Design.TrackingPropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.Design.TrackingPropertyDescriptor
Public Sub New (modelElement As ModelElement, domainProperty As DomainPropertyInfo, trackingProperty As DomainPropertyInfo, attributes As Attribute())

Parameters

modelElement
ModelElement

ModelElement whose property will be operated upon. This may be null, in which case GetValue() and SetValue() actually use the argument passed in.

domainProperty
DomainPropertyInfo

Property (Required)

trackingProperty
DomainPropertyInfo

(Boolean)Property that handles whether this property is tracking.

attributes
Attribute[]

Array of Attributes for this property descriptor

Applies to

TrackingPropertyDescriptor(ElementTypeDescriptor, ModelElement, DomainPropertyInfo, DomainPropertyInfo, Attribute[])

The ElementPropertyDescriptor can operate upon a specific element passed in to the constructor, or it can accept a null element.

If a specific element is provided, GetValue(), SetValue(), andcool, thaznkl the other methods will ignore the object argument passed in and will instead use that specific element.

If a null element is provided, GetValue(), SetValue(), and the other methods will use the object argument passed in.

public:
 TrackingPropertyDescriptor(Microsoft::VisualStudio::Modeling::Design::ElementTypeDescriptor ^ owner, Microsoft::VisualStudio::Modeling::ModelElement ^ modelElement, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ domainProperty, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ trackingProperty, cli::array <Attribute ^> ^ attributes);
public TrackingPropertyDescriptor (Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor owner, Microsoft.VisualStudio.Modeling.ModelElement modelElement, Microsoft.VisualStudio.Modeling.DomainPropertyInfo domainProperty, Microsoft.VisualStudio.Modeling.DomainPropertyInfo trackingProperty, Attribute[] attributes);
new Microsoft.VisualStudio.Modeling.Design.TrackingPropertyDescriptor : Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.Design.TrackingPropertyDescriptor
Public Sub New (owner As ElementTypeDescriptor, modelElement As ModelElement, domainProperty As DomainPropertyInfo, trackingProperty As DomainPropertyInfo, attributes As Attribute())

Parameters

owner
ElementTypeDescriptor

Owner of this object

modelElement
ModelElement

ModelElement whose property will be operated upon. This may be null, in which case GetValue() and SetValue() actually use the argument passed in.

domainProperty
DomainPropertyInfo

Property (Required)

trackingProperty
DomainPropertyInfo

(Boolean)Property that handles whether this property is tracking.

attributes
Attribute[]

Array of Attributes for this property descriptor

Applies to