ElementGroupPrototype.CanCreateElementGroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CanCreateElementGroup(Partition) |
Can this prototype element group create a clone of the progenitor element group in the indicated partition? |
CanCreateElementGroup(Store) |
Can this prototype element group create a clone of the progenitor element group in the indicated store? |
CanCreateElementGroup(Partition, IElementPartitionMapper) |
Can this prototype element group create a clone of the progenitor element group in the indicated partition? |
CanCreateElementGroup(Partition)
Can this prototype element group create a clone of the progenitor element group in the indicated partition?
public:
bool CanCreateElementGroup(Microsoft::VisualStudio::Modeling::Partition ^ partition);
public bool CanCreateElementGroup (Microsoft.VisualStudio.Modeling.Partition partition);
member this.CanCreateElementGroup : Microsoft.VisualStudio.Modeling.Partition -> bool
Public Function CanCreateElementGroup (partition As Partition) As Boolean
Parameters
- partition
- Partition
The partition in which to create the clone ElementGroup
Returns
Whether the clone can be created
Remarks
This is a two part check: (1) Is the input stores version the same or later than the progenitor store's version (2) Are all the domain classes required to create the Elements and ElementLinks present in the store
Applies to
CanCreateElementGroup(Store)
Can this prototype element group create a clone of the progenitor element group in the indicated store?
public:
bool CanCreateElementGroup(Microsoft::VisualStudio::Modeling::Store ^ store);
public bool CanCreateElementGroup (Microsoft.VisualStudio.Modeling.Store store);
member this.CanCreateElementGroup : Microsoft.VisualStudio.Modeling.Store -> bool
Public Function CanCreateElementGroup (store As Store) As Boolean
Parameters
- store
- Store
The store in which to create the clone ElementGroup
Returns
Whether the clone can be created
Remarks
This is a two part check: (1) Is the input stores version the same or later than the progenitor store's version (2) Are all the domain classes required to create the Elements and ElementLinks present in the store
Applies to
CanCreateElementGroup(Partition, IElementPartitionMapper)
Can this prototype element group create a clone of the progenitor element group in the indicated partition?
public:
bool CanCreateElementGroup(Microsoft::VisualStudio::Modeling::Partition ^ partition, Microsoft::VisualStudio::Modeling::IElementPartitionMapper ^ partitionMapper);
public bool CanCreateElementGroup (Microsoft.VisualStudio.Modeling.Partition partition, Microsoft.VisualStudio.Modeling.IElementPartitionMapper partitionMapper);
member this.CanCreateElementGroup : Microsoft.VisualStudio.Modeling.Partition * Microsoft.VisualStudio.Modeling.IElementPartitionMapper -> bool
Public Function CanCreateElementGroup (partition As Partition, partitionMapper As IElementPartitionMapper) As Boolean
Parameters
- partition
- Partition
The partition of the target element for the group, not necessarily the partition where the elements will be created
- partitionMapper
- IElementPartitionMapper
IElementPartitionMapper used to identify the actual partitions in which elements will be created.
Returns
Whether the clone can be created
Remarks
This is a two part check: (1) Is the input stores version the same or later than the progenitor store's version (2) Are all the domain classes required to create the Elements and ElementLinks present in the store