Creates a Moniker 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
声明
Protected Overrides Function CreateMonikerInstance ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    sourceRolePlayer As ModelElement, _
    relDomainClassId As Guid, _
    partition As Partition _
) As Moniker
protected override Moniker CreateMonikerInstance(
    SerializationContext serializationContext,
    XmlReader reader,
    ModelElement sourceRolePlayer,
    Guid relDomainClassId,
    Partition partition
)
protected:
virtual Moniker^ CreateMonikerInstance(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    ModelElement^ sourceRolePlayer, 
    Guid relDomainClassId, 
    Partition^ partition
) override
abstract CreateMonikerInstance : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        sourceRolePlayer:ModelElement * 
        relDomainClassId:Guid * 
        partition:Partition -> Moniker 
override CreateMonikerInstance : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        sourceRolePlayer:ModelElement * 
        relDomainClassId:Guid * 
        partition:Partition -> Moniker 
protected override function CreateMonikerInstance(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    sourceRolePlayer : ModelElement, 
    relDomainClassId : Guid, 
    partition : Partition
) : Moniker
Parameters
- serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext
Serialization context. 
- reader
Type: System.Xml.XmlReader
XmlReader to read serialized data from. 
- sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElement
The source role-player instance from which the moniker being created is referenced. 
- relDomainClassId
Type: System.Guid
The DomainClass Id of the relationship that connects the sourceRolePlayer to the moniker being created. 
- partition
Type: Microsoft.VisualStudio.Modeling.Partition
The new Moniker should be created in the Store associated with this partition. 
Return Value
Type: Microsoft.VisualStudio.Modeling.Moniker
Remarks
Creates a Moniker of BinaryLinkShape based on the tag that is currently pointed to by the reader. Does not move the reader.
.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.