ModelElement Constructor
Initializes a new instance of the ModelElement class.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Déclaration
Protected Sub New ( _
partition As Partition, _
propertyAssignments As PropertyAssignment() _
)
protected ModelElement(
Partition partition,
PropertyAssignment[] propertyAssignments
)
protected:
ModelElement(
Partition^ partition,
array<PropertyAssignment^>^ propertyAssignments
)
new :
partition:Partition *
propertyAssignments:PropertyAssignment[] -> ModelElement
protected function ModelElement(
partition : Partition,
propertyAssignments : PropertyAssignment[]
)
Parameters
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
The Partition of the store where the element is to be created.
- propertyAssignments
Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]
An array of new element property assignments.
.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.