DslDefinitionModelElementPropertyDescriptor Constructor
DslDefinitionModelElementPropertyDescriptor is for concept property
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
owner As ElementTypeDescriptor, _
modelElement As ModelElement, _
domainProperty As DomainPropertyInfo, _
attributes As Attribute() _
)
public DslDefinitionModelElementPropertyDescriptor(
ElementTypeDescriptor owner,
ModelElement modelElement,
DomainPropertyInfo domainProperty,
Attribute[] attributes
)
public:
DslDefinitionModelElementPropertyDescriptor(
ElementTypeDescriptor^ owner,
ModelElement^ modelElement,
DomainPropertyInfo^ domainProperty,
array<Attribute^>^ attributes
)
new :
owner:ElementTypeDescriptor *
modelElement:ModelElement *
domainProperty:DomainPropertyInfo *
attributes:Attribute[] -> DslDefinitionModelElementPropertyDescriptor
public function DslDefinitionModelElementPropertyDescriptor(
owner : ElementTypeDescriptor,
modelElement : ModelElement,
domainProperty : DomainPropertyInfo,
attributes : Attribute[]
)
Parameters
owner
Type: Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptorOwner of this object
modelElement
Type: Microsoft.VisualStudio.Modeling.ModelElementModelElement 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.DomainPropertyInfoProperty (Required)
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
DslDefinitionModelElementPropertyDescriptor Class
Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace