DslLibraryDefinesElements(Partition, RoleAssignment[], PropertyAssignment[]) 建構函式

定義

建構函式。Constructor.

protected:
 DslLibraryDefinesElements(Microsoft::VisualStudio::Modeling::Partition ^ partition, cli::array <Microsoft::VisualStudio::Modeling::RoleAssignment ^> ^ roleAssignments, cli::array <Microsoft::VisualStudio::Modeling::PropertyAssignment ^> ^ propertyAssignments);
protected DslLibraryDefinesElements (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.RoleAssignment[] roleAssignments, Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments);
new Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.RoleAssignment[] * Microsoft.VisualStudio.Modeling.PropertyAssignment[] -> Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements
Protected Sub New (partition As Partition, roleAssignments As RoleAssignment(), propertyAssignments As PropertyAssignment())

參數

partition
Partition

包含此 ElementLink 的資料分割實例The Partition instance containing this ElementLink

roleAssignments
RoleAssignment[]

一組用於 roleplayer 初始化的角色指派A set of role assignments for roleplayer initialization

propertyAssignments
PropertyAssignment[]

屬性初始化的一組屬性指派A set of attribute assignments for attribute initialization

適用於