共用方式為


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

  • attributes
    Type: array<System.Attribute[]
    Array of Attributes for this property descriptor

.NET Framework Security

See Also

Reference

DslDefinitionModelElementTrackingPropertyDescriptor Class

Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace