Share via


GhostShapeCollection Constructors

Definition

Overloads

GhostShapeCollection(Guid, Guid)

Initializes a new instance of the GhostShapeCollection class.

GhostShapeCollection(SerializationInfo, StreamingContext)

Initializes a new instance of the GhostShapeCollection class. This is used for deserialization.

GhostShapeCollection(Guid, Guid)

Initializes a new instance of the GhostShapeCollection class.

public:
 GhostShapeCollection(Guid sourceStoreId, Guid sourceDiagramId);
public GhostShapeCollection (Guid sourceStoreId, Guid sourceDiagramId);
new Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection : Guid * Guid -> Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
Public Sub New (sourceStoreId As Guid, sourceDiagramId As Guid)

Parameters

sourceStoreId
Guid

The Guid of the store from which the ShapeElements originated. The value Guid.Empty can be used if there is no source store.

sourceDiagramId
Guid

The Guid of the diagram from which the ShapeElements originated. The value Guid.Empty can be used if there is no source store.

Applies to

GhostShapeCollection(SerializationInfo, StreamingContext)

Initializes a new instance of the GhostShapeCollection class. This is used for deserialization.

protected:
 GhostShapeCollection(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected GhostShapeCollection (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that contains the serialized data with which to initialize this instance.

context
StreamingContext

The destination (see StreamingContext) for this serialization.

Applies to