ToolSerializer.GetMonikerQualifier Method
Visual Studio 2012
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.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
public override string GetMonikerQualifier( DomainXmlSerializerDirectory directory, ModelElement element )
Parameters
- directory
- Type: Microsoft.VisualStudio.Modeling.DomainXmlSerializerDirectory
Directory to look up serializer based on model element type.
- element
- Type: Microsoft.VisualStudio.Modeling.ModelElement
Tool instance to get moniker qualifier from.
Return Value
Type: StringValue 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.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.