Condividi tramite


DomainClassXmlSerializer.XmlTagName Property

Gets the XML tag name that will be used in serialization.

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

Syntax

'Declaration
Public Overridable ReadOnly Property XmlTagName As String
public virtual string XmlTagName { get; }
public:
virtual property String^ XmlTagName {
    String^ get ();
}
abstract XmlTagName : string with get 
override XmlTagName : string with get
function get XmlTagName () : String

Property Value

Type: System.String
The XML tag name used for serialization.

Remarks

If a domain class cannot be serialized directly, for example, an abstract class, short-form relationship, and so on, an empty string is returned for this property.

.NET Framework Security

See Also

Reference

DomainClassXmlSerializer Class

Microsoft.VisualStudio.Modeling Namespace