DomainClassXmlSerializer.MonikerTagName Property

 

Gets the XML tag name.

Namespace:   Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public virtual string MonikerTagName { get; }

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.

Return to top
Show: