Share via


BinaryLinkShapeSerializerBase.CreateInstance Method

Creates an instance of BinaryLinkShape based on the tag currently pointed by the reader. Does not move the reader.

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

Syntax

'Declaration
Protected Overrides Function CreateInstance ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    partition As Partition _
) As ModelElement
protected override ModelElement CreateInstance(
    SerializationContext serializationContext,
    XmlReader reader,
    Partition partition
)
protected:
virtual ModelElement^ CreateInstance(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    Partition^ partition
) override
abstract CreateInstance : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        partition:Partition -> ModelElement 
override CreateInstance : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        partition:Partition -> ModelElement 
protected override function CreateInstance(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    partition : Partition
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

Remarks

Creates an instance of BinaryLinkShape based on the tag that is currently pointed to by the reader. Does not move the reader.

.NET Framework Security

See Also

Reference

BinaryLinkShapeSerializerBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace