共用方式為


ClrAttribute Constructors

Definition

Overloads

ClrAttribute(Partition, PropertyAssignment[])

Constructor

ClrAttribute(Store, PropertyAssignment[])

Constructor

ClrAttribute(Partition, PropertyAssignment[])

Constructor

public:
 ClrAttribute(Microsoft::VisualStudio::Modeling::Partition ^ partition, ... cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
public ClrAttribute (Microsoft.VisualStudio.Modeling.Partition partition, params Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute
Public Sub New (partition As Partition, ParamArray propertyAssignments As PropertyAssignment())

Parameters

partition
Partition

Partition where new element is to be created.

propertyAssignments
PropertyAssignment[]

List of domain property id/value pairs to set once the element is created.

Applies to

ClrAttribute(Store, PropertyAssignment[])

Constructor

public:
 ClrAttribute(Microsoft::VisualStudio::Modeling::Store ^ store, ... cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
public ClrAttribute (Microsoft.VisualStudio.Modeling.Store store, params Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute : Microsoft.VisualStudio.Modeling.Store * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute
Public Sub New (store As Store, ParamArray propertyAssignments As PropertyAssignment())

Parameters

store
Store

Store where new element is to be created.

propertyAssignments
PropertyAssignment[]

List of domain property id/value pairs to set once the element is created.

Applies to