DslDefinitionModelElementTrackingPropertyDescriptor Constructor
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.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣告
Public Sub New ( _
modelElement As ModelElement, _
domainProperty As DomainPropertyInfo, _
trackingProperty As DomainPropertyInfo, _
attributes As Attribute() _
)
public DslDefinitionModelElementTrackingPropertyDescriptor(
ModelElement modelElement,
DomainPropertyInfo domainProperty,
DomainPropertyInfo trackingProperty,
Attribute[] attributes
)
public:
DslDefinitionModelElementTrackingPropertyDescriptor(
ModelElement^ modelElement,
DomainPropertyInfo^ domainProperty,
DomainPropertyInfo^ trackingProperty,
array<Attribute^>^ attributes
)
new :
modelElement:ModelElement *
domainProperty:DomainPropertyInfo *
trackingProperty:DomainPropertyInfo *
attributes:Attribute[] -> DslDefinitionModelElementTrackingPropertyDescriptor
public function DslDefinitionModelElementTrackingPropertyDescriptor(
modelElement : ModelElement,
domainProperty : DomainPropertyInfo,
trackingProperty : DomainPropertyInfo,
attributes : Attribute[]
)
Parameters
- modelElement
Type: Microsoft.VisualStudio.Modeling.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
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
Property (Required)
- trackingProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
(Boolean)Property that handles whether this property is tracking.
- attributes
Type: array<System.Attribute[]
Array of Attributes for this property descriptor
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DslDefinitionModelElementTrackingPropertyDescriptor Class
Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace