ElementGroupPrototype.CanCreateElementGroup Method (Store)
Can this prototype element group create a clone of the progenitor element group in the indicated store?
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Function CanCreateElementGroup ( _
store As Store _
) As Boolean
public bool CanCreateElementGroup(
Store store
)
public:
bool CanCreateElementGroup(
Store^ store
)
member CanCreateElementGroup :
store:Store -> bool
public function CanCreateElementGroup(
store : Store
) : boolean
Parameters
- store
Type: Microsoft.VisualStudio.Modeling.Store
The store in which to create the clone ElementGroup
Return Value
Type: System.Boolean
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
.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.