DomainClassXmlSerializer::MonikerTagName Property
Visual Studio 2015
Gets the XML tag name.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Property Value
Type: System::String^Returns the XML tag name when serializing the handled model element as a moniker.
This tag name is different from the XmlTagName. The MonikerTagName is for writing a moniker, and XmlTagName is for writing the actual instance of the model element. The tag names must be different so that the associated schema for the serialized XML is not ambiguous.
A serializer implementation that overrides MonikerAttributeName should also override MonikerTagName.
The base implementation returns an empty string. An empty string means that the domain class cannot be monikerized.
Show: