Click or drag to resize
XmlArrayItemAttribute Class
Represents an attribute that specifies the derived types that the System.Xml.Serialization.XmlSerializer can place in a serialized array.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    System.Xml.SerializationXmlArrayItemAttribute

Namespace: System.Xml.Serialization
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public class XmlArrayItemAttribute : Attribute

The XmlArrayItemAttribute type exposes the following members.

Constructors
  NameDescription
Public methodXmlArrayItemAttribute
Initializes a new instance of the System.Xml.Serialization.XmlArrayItemAttribute class.
Public methodXmlArrayItemAttribute(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.
Public methodXmlArrayItemAttribute(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.
Public methodXmlArrayItemAttribute(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.
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDataType
Gets or sets the XML data type of the generated XML element.
Public propertyElementName
Gets or sets the name of the generated XML element.
Public propertyForm
Gets or sets a value that indicates whether the name of the generated XML element is qualified.
Public propertyIsNullable
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.
Public propertyNamespace
Gets or sets the namespace of the generated XML element.
Public propertyNestingLevel
Gets or sets the level in a hierarchy of XML elements that the System.Xml.Serialization.XmlArrayItemAttribute affects.
Public propertyType
Gets or sets the type allowed in an array.
Top
See Also