BinaryLinkShapeSerializerBase.TryCreateMonikerInstance Method

Creates a Moniker for an instance of BinaryLinkShape (or one of its subtypes) based on the tag currently pointed by the reader.

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

Parameters

  • reader
    Type: XmlReader

    XmlReader to read serialized data from.

  • relDomainClassId
    Type: Guid

    The DomainClass Id of the relationship that connects the sourceRolePlayer to the moniker being created.

Return Value

Type: Microsoft.VisualStudio.Modeling.Moniker

Remarks

Creates a Moniker for an instance of BinaryLinkShape (or one of its subtypes) based on the tag that is currently pointed to by the reader.

.NET Framework Security

See Also

Reference

BinaryLinkShapeSerializerBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace