Export (0) Print
Expand All

DomainClassXmlSerializer.CreateMonikerInstance Method

Creates a moniker instance.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

protected virtual Moniker CreateMonikerInstance(
	SerializationContext serializationContext,
	XmlReader reader,
	ModelElement sourceRolePlayer,
	Guid relDomainClassId,
	Partition partition
)

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContext

The serialization context that stores serialization errors, if any.

reader
Type: System.Xml.XmlReader

The XmlReader from which to read.

sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElement

The source role-player model element from which the moniker being created is referenced.

relDomainClassId
Type: System.Guid

The domain class Id of the relationship that connects the source role player 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 moniker instance.

Show:
© 2014 Microsoft