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)
Syntax
'Declaration
Protected Overridable Function CreateMonikerInstance ( _
serializationContext As SerializationContext, _
reader As XmlReader, _
sourceRolePlayer As ModelElement, _
relDomainClassId As Guid, _
partition As Partition _
) As Moniker
protected virtual 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
)
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 function CreateMonikerInstance(
serializationContext : SerializationContext,
reader : XmlReader,
sourceRolePlayer : ModelElement,
relDomainClassId : Guid,
partition : Partition
) : Moniker
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextThe serialization context that stores serialization errors, if any.
reader
Type: System.Xml.XmlReaderThe XmlReader from which to read.
sourceRolePlayer
Type: Microsoft.VisualStudio.Modeling.ModelElementThe source role-player model element from which the moniker being created is referenced.
relDomainClassId
Type: System.GuidThe domain class Id of the relationship that connects the source role player to the moniker being created.
partition
Type: Microsoft.VisualStudio.Modeling.PartitionThe new Moniker should be created in the store associated with this partition.
Return Value
Type: Microsoft.VisualStudio.Modeling.Moniker
The moniker instance.
.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.