Compartir a través de


DomainRelationshipXmlSerializer.MonikerizeReference Method

Definition

Calculates a Moniker, given a reference to a ModelElement.

public:
 virtual Microsoft::VisualStudio::Modeling::Moniker ^ MonikerizeReference(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, Microsoft::VisualStudio::Modeling::ModelElement ^ sourceElement, Guid domainClassId, System::String ^ monikerString, Microsoft::VisualStudio::Modeling::Store ^ store);
public virtual Microsoft.VisualStudio.Modeling.Moniker MonikerizeReference (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement sourceElement, Guid domainClassId, string monikerString, Microsoft.VisualStudio.Modeling.Store store);
abstract member MonikerizeReference : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * Guid * string * Microsoft.VisualStudio.Modeling.Store -> Microsoft.VisualStudio.Modeling.Moniker
override this.MonikerizeReference : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * Guid * string * Microsoft.VisualStudio.Modeling.Store -> Microsoft.VisualStudio.Modeling.Moniker
Public Overridable Function MonikerizeReference (serializationContext As SerializationContext, sourceElement As ModelElement, domainClassId As Guid, monikerString As String, store As Store) As Moniker

Parameters

serializationContext
SerializationContext

Serialization context.

sourceElement
ModelElement

Source role-player of the relationship.

domainClassId
Guid

DomainClassId of the model element that the given moniker string will be resolved to.

monikerString
String

Serialized string reference to an instance of the target role-player.

store
Store

Store where the Moniker will be created

Returns

A Moniker encapsulating the serialized string reference of the target role-player instance.

Applies to