Lire en anglais

Partager via


DecoratorHostShapeSerializerBase.CreateMonikerInstance Method

This method creates a Moniker of DecoratorHostShape based on the tag currently pointed by 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 override Moniker CreateMonikerInstance(
    SerializationContext serializationContext,
    XmlReader reader,
    ModelElement sourceRolePlayer,
    Guid relDomainClassId,
    Partition partition
)

Parameters

  • relDomainClassId
    Type: System.Guid
    The DomainClass Id of the relationship that connects the sourceRolePlayer to the moniker being created.

Return Value

Type: Microsoft.VisualStudio.Modeling.Moniker

Remarks

The caller will guarantee that the reader is positioned at open XML tag of the next element being read. This method should not move the reader; the reader should remain at the same position when this method returns.

.NET Framework Security

See Also

Reference

DecoratorHostShapeSerializerBase Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace