ElementOperations.CanMergeElementGroupPrototype Method (ModelElement, ElementGroupPrototype)
Returns a value indicating whether MergeElementGroupPrototype can be performed.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
声明
Public Overridable Function CanMergeElementGroupPrototype ( _
targetElement As ModelElement, _
elementGroupPrototype As ElementGroupPrototype _
) As Boolean
public virtual bool CanMergeElementGroupPrototype(
ModelElement targetElement,
ElementGroupPrototype elementGroupPrototype
)
public:
virtual bool CanMergeElementGroupPrototype(
ModelElement^ targetElement,
ElementGroupPrototype^ elementGroupPrototype
)
abstract CanMergeElementGroupPrototype :
targetElement:ModelElement *
elementGroupPrototype:ElementGroupPrototype -> bool
override CanMergeElementGroupPrototype :
targetElement:ModelElement *
elementGroupPrototype:ElementGroupPrototype -> bool
public function CanMergeElementGroupPrototype(
targetElement : ModelElement,
elementGroupPrototype : ElementGroupPrototype
) : boolean
Parameters
- targetElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The ModelElement that will serve as the target for the reconstituted elements from the ElementGroupPrototype.
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The ElementGroupPrototype that will be reconstituted in the target element's store.
Return Value
Type: System.Boolean
A value indicating whether MergeElementGroupPrototype can be performed.
.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.