DslDefinitionModelElementPropertyDescriptor Constructor
DslDefinitionModelElementPropertyDescriptor is for concept property
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
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.ElementTypeDescriptor
Owner of this object
- 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)
- 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