DslDefinitionModelElementPropertyDescriptor 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.
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