Share via


RelationshipHasBaseRelationshipSerializer.MonikerizeReference Method

Definition

Calculates a Moniker, given a reference to a DomainRelationship

public:
 override 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 override Microsoft.VisualStudio.Modeling.Moniker MonikerizeReference (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, Microsoft.VisualStudio.Modeling.ModelElement sourceElement, Guid domainClassId, string monikerString, Microsoft.VisualStudio.Modeling.Store store);
override this.MonikerizeReference : Microsoft.VisualStudio.Modeling.SerializationContext * Microsoft.VisualStudio.Modeling.ModelElement * Guid * string * Microsoft.VisualStudio.Modeling.Store -> Microsoft.VisualStudio.Modeling.Moniker
Public Overrides 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

Instance of DomainRelationship that contains the given serialized reference

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 DomainRelationship

store
Store

Store where the Moniker will be created

Returns

A Moniker encapsulating the serialized string reference of DomainRelationship instance

Applies to