//
// XmlTextAttribute.cs:
//
// Author:
// John Donagher (john@webmeta.com)
//
// (C) 2002 John Donagher
//
using System;
namespace System.Xml.Serialization
{
///
/// Summary description for XmlTextAttribute.
///
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field
| AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
public class XmlTextAttribute : Attribute
{
private string dataType;
private Type type;
private int order;
public XmlTextAttribute ()
{
}
public XmlTextAttribute (Type type)
{
Type = type;
}
public string DataType {
get {
return dataType;
}
set {
dataType = value;
}
}
public Type Type
{
get {
return type;
}
set {
type = value;
}
}
///
/// Specifies Order in which Memberswill be serialized as Elements.
///
internal int Order
{
get{ return order; }
set{ order = value; }
}
}
}