System.Xml.Serialization.SoapAttributeAttribute.AttributeName Property

Gets or sets the name of the XML attribute generated by the System.Xml.Serialization.XmlSerializer.

Syntax

public string AttributeName { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the SoapAttributeAttribute.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, use a valid name for the identifier while setting the SoapAttributeAttribute.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