DomainClassXmlSerializer.MonikerTagName Property

Gets the XML tag name.

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

Syntax

'Declaration
Public Overridable ReadOnly Property MonikerTagName As String
'Usage
Dim instance As DomainClassXmlSerializer 
Dim value As String 

value = instance.MonikerTagName
public virtual string MonikerTagName { get; }
public:
virtual property String^ MonikerTagName {
    String^ get ();
}
public function get MonikerTagName () : String

Property Value

Type: System.String
Returns the XML tag name when serializing the handled model element as a moniker.

Remarks

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.

.NET Framework Security

See Also

Reference

DomainClassXmlSerializer Class

DomainClassXmlSerializer Members

Microsoft.VisualStudio.Modeling Namespace