2 // XmlAttributeAttribute.cs:
5 // John Donagher (john@webmeta.com)
7 // (C) 2002 John Donagher
10 using System.Xml.Schema;
\r
13 namespace System.Xml.Serialization
\r
16 /// Summary description for XmlAttributeAttribute.
\r
18 [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field
\r
19 | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
\r
20 public class XmlAttributeAttribute : Attribute
\r
22 private string attributeName;
\r
23 private string dataType;
\r
24 private XmlSchemaForm form;
\r
27 public XmlAttributeAttribute ()
\r
30 public XmlAttributeAttribute (string attributeName)
\r
32 AttributeName = attributeName;
\r
35 public XmlAttributeAttribute (Type type)
\r
39 public XmlAttributeAttribute (string attributeName, Type type)
\r
41 AttributeName = attributeName;
\r
44 public string AttributeName {
\r
49 attributeName = value;
52 public string DataType {
\r
60 public XmlSchemaForm Form {
\r
68 public string Namespace {
\r