ElementGroupPrototype Class

Contains the information necessary to recreate a set of elements and links. Used to store elements in tools, on the clipboard, and in a drag operation.

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ElementGroupPrototype _
    Implements ISerializable, IDeserializationCallback
'Usage
Dim instance As ElementGroupPrototype
[SerializableAttribute]
public sealed class ElementGroupPrototype : ISerializable, 
    IDeserializationCallback
[SerializableAttribute]
public ref class ElementGroupPrototype sealed : ISerializable, 
    IDeserializationCallback
public final class ElementGroupPrototype implements ISerializable, IDeserializationCallback

Remarks

An ElementGroupPrototype (EGP) contains a pattern of elements and links, which can be used to create a new set of elements and links in a merge operation. During the merge, the EGP is used to create an ElementGroup, which is then linked into the elements in the target model.

EGPs are used for the following purposes:

  • To carry information in a drag operation;

  • To store information on the clipboard;

  • To store a pattern of objects in a toolbox.

For more information, see How to program copy and paste and How to program drag and drop.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.ElementGroupPrototype

Thread Safety

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

See Also

Reference

ElementGroupPrototype Members

Microsoft.VisualStudio.Modeling Namespace

Change History

Date

History

Reason

Extended class description.

Information enhancement.