System.Xml.Serialization.XmlAttributeAttribute.AttributeName Property

Gets or sets the name of the XML attribute.

Syntax

public string AttributeName { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the XmlAttributeAttribute.AttributeName property to specify an XML attribute name when the default value cannot be used. For example, if the XML attribute name is invalid as a member identifier, you can use a valid name for the identifier while setting the XmlAttributeAttribute.AttributeName to an invalid name.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0