DslDefinitionModelElementTrackingPropertyDescriptor Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:
DslDefinitionModelElementTrackingPropertyDescriptor(Microsoft::VisualStudio::Modeling::ModelElement ^ modelElement, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ domainProperty, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ trackingProperty, cli::array <Attribute ^> ^ attributes);
public DslDefinitionModelElementTrackingPropertyDescriptor (Microsoft.VisualStudio.Modeling.ModelElement modelElement, Microsoft.VisualStudio.Modeling.DomainPropertyInfo domainProperty, Microsoft.VisualStudio.Modeling.DomainPropertyInfo trackingProperty, Attribute[] attributes);
new Microsoft.VisualStudio.Modeling.DslDefinition.Design.DslDefinitionModelElementTrackingPropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.DslDefinition.Design.DslDefinitionModelElementTrackingPropertyDescriptor
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