ElementGroupPrototype Constructor (Partition, Guid)
Constructor for taking a rool domain class Id. This is used to determine whether an element can be merged under an parent element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Public Sub New ( _
partition As Partition, _
rootElementDomainClassId As Guid _
)
public ElementGroupPrototype(
Partition partition,
Guid rootElementDomainClassId
)
public:
ElementGroupPrototype(
Partition^ partition,
Guid rootElementDomainClassId
)
new :
partition:Partition *
rootElementDomainClassId:Guid -> ElementGroupPrototype
public function ElementGroupPrototype(
partition : Partition,
rootElementDomainClassId : Guid
)
Parameters
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
partition this rootElementDomainClassId resides
- rootElementDomainClassId
Type: System.Guid
represents domain class Id of the single root element
.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.