DesignSurfaceMergeContext Class

 

Provides merge (i.e., drop/paste) information which is initially set by the merge process when the ElementGroupPrototype's objects are reconstituted into the target store. The merge information is subsequently used throughout the merge process and the fixup phase.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::DesignSurfaceMergeContext

public ref class DesignSurfaceMergeContext sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddRootModelElement(Transaction^, ModelElement^)

Adds the modelElement to the transaction's DesignSurfaceMergeContext's RootMel collection.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetElementGroup(Transaction^)

Returns the ElementGroup that was reconstituted into the target store.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetRootModelElements(Transaction^)

Returns the collection of ModelElements (non-PresentationElements) that serve as the root elements in the reconstituted ElementGroup.

System_CAPS_pubmethodSystem_CAPS_staticGetRootPresentationElements(Transaction^)

Returns the collection of PresentationElements that serve as the root elements in the reconstituted ElementGroup.

System_CAPS_pubmethodSystem_CAPS_staticGetTargetElement(Transaction^)

Returns the target ModelElement of the merge operation.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticHasContext(Transaction^)

Returns true if the transaction contains DesignSurfaceMergeContext info, otherwise false.

System_CAPS_pubmethodSystem_CAPS_staticSet(Transaction^, ModelElement^, ElementGroup^)

Adds the DesignSurfaceMergeContext information to the specified transaction.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticPreMergeKey

When this key is present in an ElementGroup's context, the merge process will call PreMergeSelf() on every root element in the ElementGroup at the beginning of merge.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: