LabelShape Constructor (Partition, array<PropertyAssignment )
Initializes a new instance of the LabelShape class.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
partition As Partition, _
ParamArray propertyAssignments As PropertyAssignment() _
)
public LabelShape(
Partition partition,
params PropertyAssignment[] propertyAssignments
)
public:
LabelShape(
Partition^ partition,
... array<PropertyAssignment^>^ propertyAssignments
)
new :
partition:Partition *
propertyAssignments:PropertyAssignment[] -> LabelShape
public function LabelShape(
partition : Partition,
... propertyAssignments : PropertyAssignment[]
)
Parameters
partition
Type: Microsoft.VisualStudio.Modeling.PartitionThe partition for the label shape.
propertyAssignments
Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]The list of domain property ID/value pairs for the label shape.
.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.