Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the GhostShapeCollection class. This is used for deserialization.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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: System.Runtime.Serialization.SerializationInfo- The SerializationInfo that contains the serialized data with which to initialize this instance. 
- context 
 Type: System.Runtime.Serialization.StreamingContext- The destination (see StreamingContext) for this serialization. 
.NET Framework Security
- 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.