XmlArrayItemAttribute Constructor (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.
Namespace: System.Xml.SerializationAssembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax public XmlArrayItemAttribute(
string elementName,
Type type
)
Parameters
- elementName
- Type: SystemString
The name of the XML element. - type
- Type: SystemType
The System.Type of the object to serialize.
See Also