Files
mono/mcs/class/System.XML/System.Xml.Serialization/XmlTextAttribute.cs
T
Ajay kumar Dwivedi 3a5acc4f4c 2002-06-27 Ajay kumar Dwivedi <[email protected]>
* XmlSerializer: Serialize() method Partially Implemented.

svn path=/trunk/mcs/; revision=5478
2002-06-27 10:36:28 +00:00

62 lines
1.0 KiB
C#

//
// XmlTextAttribute.cs:
//
// Author:
// John Donagher ([email protected])
//
// (C) 2002 John Donagher
//
using System;
namespace System.Xml.Serialization
{
/// <summary>
/// Summary description for XmlTextAttribute.
/// </summary>
[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;
}
}
/// <summary>
/// Specifies Order in which Memberswill be serialized as Elements.
/// </summary>
public int Order
{
get{ return order; }
set{ order = value; }
}
}
}