Share via


GhostShapeCollection Constructor (SerializationInfo, StreamingContext)

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

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

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected GhostShapeCollection(
    SerializationInfo info,
    StreamingContext context
)
protected:
GhostShapeCollection(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> GhostShapeCollection
protected function GhostShapeCollection(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

  • info
    Type: SerializationInfo

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

  • context
    Type: StreamingContext

    The destination (see StreamingContext) for this serialization.

.NET Framework Security

See Also

Reference

GhostShapeCollection Class

GhostShapeCollection Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace