BinaryLinkShapeSerializerBase.TryCreateInstance Method

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

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 Function TryCreateInstance ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    partition As Partition _
) As ModelElement
public override ModelElement TryCreateInstance(
    SerializationContext serializationContext,
    XmlReader reader,
    Partition partition
)
public:
virtual ModelElement^ TryCreateInstance(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    Partition^ partition
) override
abstract TryCreateInstance : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        partition:Partition -> ModelElement  
override TryCreateInstance : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        partition:Partition -> ModelElement
public override function TryCreateInstance(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    partition : Partition
) : ModelElement

Parameters

  • reader
    Type: XmlReader

    XmlReader to read serialized data from.

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. The reader does not move.

.NET Framework Security

See Also

Reference

BinaryLinkShapeSerializerBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace