Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Overridable Function CanMergeElementGroupPrototype ( _
targetElement As ModelElement, _
elementGroupPrototype As ElementGroupPrototype _
) As Boolean
'使用
Dim instance As ElementOperations
Dim targetElement As ModelElement
Dim elementGroupPrototype As ElementGroupPrototype
Dim returnValue As Boolean
returnValue = instance.CanMergeElementGroupPrototype(targetElement, _
elementGroupPrototype)
public virtual bool CanMergeElementGroupPrototype(
ModelElement targetElement,
ElementGroupPrototype elementGroupPrototype
)
public:
virtual bool CanMergeElementGroupPrototype(
ModelElement^ targetElement,
ElementGroupPrototype^ elementGroupPrototype
)
public function CanMergeElementGroupPrototype(
targetElement : ModelElement,
elementGroupPrototype : ElementGroupPrototype
) : boolean
Parameters
- targetElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
Return Value
Type: System.Boolean
Permissions
- 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.