ShapeElementSerializer::CreateMonikerInstance Method (SerializationContext^, XmlReader^, ModelElement^, Guid, Partition^)
Visual Studio 2015
This method creates a Moniker of ShapeElement based on the tag currently pointed by the reader.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
protected: virtual Moniker^ CreateMonikerInstance( SerializationContext^ serializationContext, XmlReader^ reader, ModelElement^ sourceRolePlayer, Guid relDomainClassId, Partition^ partition ) override
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^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.
Show: