XmlAnyElementAttribute XmlAnyElementAttribute XmlAnyElementAttribute XmlAnyElementAttribute Constructors

Definition

Overloads

XmlAnyElementAttribute() XmlAnyElementAttribute() XmlAnyElementAttribute()

Initializes a new instance of the XmlAnyElementAttribute class.

XmlAnyElementAttribute(String) XmlAnyElementAttribute(String) XmlAnyElementAttribute(String) XmlAnyElementAttribute(String)

Initializes a new instance of the XmlAnyElementAttribute class and specifies the XML element name generated in the XML document.

XmlAnyElementAttribute(String, String) XmlAnyElementAttribute(String, String) XmlAnyElementAttribute(String, String) XmlAnyElementAttribute(String, String)

Initializes a new instance of the XmlAnyElementAttribute class and specifies the XML element name generated in the XML document and its XML namespace.

XmlAnyElementAttribute() XmlAnyElementAttribute() XmlAnyElementAttribute()

Initializes a new instance of the XmlAnyElementAttribute class.

public:
 XmlAnyElementAttribute();
public XmlAnyElementAttribute ();
Public Sub New ()

Remarks

Use the XmlAnyElementAttribute constructor when you are overriding the serialization of a field. For more details about overriding serialization, see the XmlAttributeOverrides class.

XmlAnyElementAttribute(String) XmlAnyElementAttribute(String) XmlAnyElementAttribute(String) XmlAnyElementAttribute(String)

Initializes a new instance of the XmlAnyElementAttribute class and specifies the XML element name generated in the XML document.

public:
 XmlAnyElementAttribute(System::String ^ name);
public XmlAnyElementAttribute (string name);
new System.Xml.Serialization.XmlAnyElementAttribute : string -> System.Xml.Serialization.XmlAnyElementAttribute
Public Sub New (name As String)

Parameters

name
String String String String

The name of the XML element that the XmlSerializer generates.

Remarks

Use the XmlAnyElementAttribute constructor when you are overriding the serialization of a field. For more details about overriding serialization, see the XmlAttributeOverrides class.

XmlAnyElementAttribute(String, String) XmlAnyElementAttribute(String, String) XmlAnyElementAttribute(String, String) XmlAnyElementAttribute(String, String)

Initializes a new instance of the XmlAnyElementAttribute class and specifies the XML element name generated in the XML document and its XML namespace.

public:
 XmlAnyElementAttribute(System::String ^ name, System::String ^ ns);
public XmlAnyElementAttribute (string name, string ns);
new System.Xml.Serialization.XmlAnyElementAttribute : string * string -> System.Xml.Serialization.XmlAnyElementAttribute
Public Sub New (name As String, ns As String)

Parameters

name
String String String String

The name of the XML element that the XmlSerializer generates.

ns
String String String String

The XML namespace of the XML element.

Remarks

Use the XmlAnyElementAttribute constructor when you are overriding the serialization of a field. For more details about overriding serialization, see the XmlAttributeOverrides class.

Applies to