DomainClassXmlSerializer.CreateMonikerInstance Method
Creates a moniker instance.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
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.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.
.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.