BinaryLinkShapeSerializerBase.Read Method
BinaryLinkShape is abstract and cannot be instantiated, so this method throws NotSupportedException.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Overrides Sub Read ( _
serializationContext As SerializationContext, _
element As ModelElement, _
reader As XmlReader _
)
public override void Read(
SerializationContext serializationContext,
ModelElement element,
XmlReader reader
)
public:
virtual void Read(
SerializationContext^ serializationContext,
ModelElement^ element,
XmlReader^ reader
) override
abstract Read :
serializationContext:SerializationContext *
element:ModelElement *
reader:XmlReader -> unit
override Read :
serializationContext:SerializationContext *
element:ModelElement *
reader:XmlReader -> unit
public override function Read(
serializationContext : SerializationContext,
element : ModelElement,
reader : XmlReader
)
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextSerialization context.
element
Type: Microsoft.VisualStudio.Modeling.ModelElementIn-memory BinaryLinkShape instance that will get the deserialized data.
reader
Type: XmlReaderXmlReader to read serialized data from.
.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.