Прочитать на английском

Поделиться через


ImageShapeSerializer.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);

Parameters

directory
DomainXmlSerializerDirectory

Directory to look up serializer based on model element type.

element
ModelElement

ImageShape 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