DomainRelationshipXmlSerializer::MonikerizeReference Method (SerializationContext^, ModelElement^, Guid, String^, Store^)

 

Calculates a Moniker, given a reference to a ModelElement.

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

public:
virtual Moniker^ MonikerizeReference(
	SerializationContext^ serializationContext,
	ModelElement^ sourceElement,
	Guid domainClassId,
	String^ monikerString,
	Store^ store
)

Parameters

serializationContext
Type: Microsoft.VisualStudio.Modeling::SerializationContext^

Serialization context.

sourceElement
Type: Microsoft.VisualStudio.Modeling::ModelElement^

Source role-player of the relationship.

domainClassId
Type: System::Guid

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

monikerString
Type: System::String^

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

store
Type: Microsoft.VisualStudio.Modeling::Store^

Store where the Moniker will be created

Return to top
Show: