共用方式為


DslDefinitionModelElementPropertyDescriptor Constructor

Definition

DslDefinitionModelElementPropertyDescriptor is for concept property

public:
 DslDefinitionModelElementPropertyDescriptor(Microsoft::VisualStudio::Modeling::Design::ElementTypeDescriptor ^ owner, Microsoft::VisualStudio::Modeling::ModelElement ^ modelElement, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ domainProperty, cli::array <Attribute ^> ^ attributes);
public DslDefinitionModelElementPropertyDescriptor (Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor owner, Microsoft.VisualStudio.Modeling.ModelElement modelElement, Microsoft.VisualStudio.Modeling.DomainPropertyInfo domainProperty, Attribute[] attributes);
new Microsoft.VisualStudio.Modeling.DslDefinition.Design.DslDefinitionModelElementPropertyDescriptor : Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptor * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.DslDefinition.Design.DslDefinitionModelElementPropertyDescriptor
Public Sub New (owner As ElementTypeDescriptor, modelElement As ModelElement, domainProperty 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)

attributes
Attribute[]

Array of Attributes for this property descriptor

Applies to