共用方式為


ImageShapeHasBaseImageShapeSerializer.MonikerizeReference Method

Definition

Calculates a Moniker, given a reference to a ImageShape

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 ImageShape 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 ImageShape

store
Store

Store where the Moniker will be created

Returns

A Moniker encapsulating the serialized string reference of ImageShape instance

Applies to