DesignerHasDiagramSerializer.MonikerizeReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates a Moniker, given a reference to a Diagram
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 Designer 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 Diagram
- store
- Store
Store where the Moniker will be created
Returns
A Moniker encapsulating the serialized string reference of Diagram instance