//
// XmlArrayAttribute.cs:
//
// Author:
// John Donagher (john@webmeta.com)
//
// (C) 2002 John Donagher
//
using System.Xml.Schema;
using System;
namespace System.Xml.Serialization
{
///
/// Summary description for XmlArrayAttribute.
///
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field
| AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public class XmlArrayAttribute : Attribute
{
private string elementName;
private XmlSchemaForm form;
private bool isNullable;
private string ns;
private int order;
public XmlArrayAttribute()
{
}
public XmlArrayAttribute(string elementName)
{
ElementName = elementName;
}
public string ElementName
{
get
{
return elementName;
}
set
{
elementName = value;
}
}
public XmlSchemaForm Form
{
get
{
return form;
}
set
{
form = value;
}
}
public bool IsNullable
{
get
{
return isNullable;
}
set
{
isNullable = value;
}
}
public string Namespace
{
get
{
return ns;
}
set
{
ns = value;
}
}
///
/// Specifies Order in which Memberswill be serialized as Elements.
///
public int Order
{
get{ return order; }
set{ order = value; }
}
}
}