ExplorerNodeSettingsSerializer.GetMonikerQualifier 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.
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
ExplorerNodeSettings 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.