XmlArrayItemAttribute Class |
Namespace: System.Xml.Serialization
public class XmlArrayItemAttribute : Attribute
The XmlArrayItemAttribute type exposes the following members.
Name | Description | |
---|---|---|
XmlArrayItemAttribute |
Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute
class.
| |
XmlArrayItemAttribute(String) |
Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute
class and specifies the name of the XML element generated in the XML document.
| |
XmlArrayItemAttribute(Type) |
Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute
class and specifies the System.Type that can be inserted into the serialized
array.
| |
XmlArrayItemAttribute(String, Type) |
Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute
class and specifies the name of the XML element generated in the XML document
and the System.Type that can be inserted into the generated XML document.
|
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
DataType |
Gets or sets the XML data type of the generated XML element.
| |
ElementName |
Gets or sets the name of the generated XML element.
| |
Form |
Gets or sets a value that indicates whether the name of the generated XML
element is qualified.
| |
IsNullable |
Gets or sets a value that indicates whether the System.Xml.Serialization.XmlSerializer
must serialize a member as an empty XML tag with the xsi:nil attribute set
to true.
| |
Namespace |
Gets or sets the namespace of the generated XML element.
| |
NestingLevel |
Gets or sets the level in a hierarchy of XML elements that the System.Xml.Serialization.XmlArrayItemAttribute
affects.
| |
Type |
Gets or sets the type allowed in an array.
|