Compartilhar via


DslLibraryDefinesElementsSerializer.GetMonikerQualifier Method

Definition

A domain class can be monikerized in different ways: standard /qualifier/key mechanism, custom moniker, or element ID. If the domain class is serialized using standard /qualifier/key mechanism, this method returns the qualifier of the moniker; if the domain class uses other ways for monikerization, this method returns empty string.

public:
 override System::String ^ GetMonikerQualifier(Microsoft::VisualStudio::Modeling::DomainXmlSerializerDirectory ^ directory, Microsoft::VisualStudio::Modeling::ModelElement ^ element);
public override string GetMonikerQualifier (Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory directory, Microsoft.VisualStudio.Modeling.ModelElement element);
override this.GetMonikerQualifier : Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory * Microsoft.VisualStudio.Modeling.ModelElement -> string
Public Overrides Function GetMonikerQualifier (directory As DomainXmlSerializerDirectory, element As ModelElement) As String

Parameters

directory
DomainXmlSerializerDirectory

Directory to look up serializer based on model element type.

element
ModelElement

DslLibraryDefinesElements instance to get moniker qualifier from.

Returns

Value of this element's moniker qualifier property, if it has one, or the value of the container's moniker qualifier property. Or empty string if this element is not monikerized using standard /qualifier/key mechanism.

Applies to