1 //------------------------------------------------------------------------------
2 // <copyright file="XmlAttributeAttribute.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
8 namespace System.Xml.Serialization {
11 using System.Xml.Schema;
13 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute"]/*' />
15 /// <para>[To be supplied.]</para>
17 [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
18 public class XmlAttributeAttribute : System.Attribute {
23 XmlSchemaForm form = XmlSchemaForm.None;
25 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute.XmlAttributeAttribute"]/*' />
27 /// <para>[To be supplied.]</para>
29 public XmlAttributeAttribute() {
32 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute.XmlAttributeAttribute1"]/*' />
34 /// <para>[To be supplied.]</para>
36 public XmlAttributeAttribute(string attributeName) {
37 this.attributeName = attributeName;
40 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute.XmlAttributeAttribute2"]/*' />
42 /// <para>[To be supplied.]</para>
44 public XmlAttributeAttribute(Type type) {
48 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute.XmlAttributeAttribute3"]/*' />
50 /// <para>[To be supplied.]</para>
52 public XmlAttributeAttribute(string attributeName, Type type) {
53 this.attributeName = attributeName;
57 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute.Type"]/*' />
59 /// <para>[To be supplied.]</para>
66 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute.AttributeName"]/*' />
68 /// <para>[To be supplied.]</para>
70 public string AttributeName {
71 get { return attributeName == null ? string.Empty : attributeName; }
72 set { attributeName = value; }
75 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute.Namespace"]/*' />
77 /// <para>[To be supplied.]</para>
79 public string Namespace {
84 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute.DataType"]/*' />
86 /// <para>[To be supplied.]</para>
88 public string DataType {
89 get { return dataType == null ? string.Empty : dataType; }
90 set { dataType = value; }
93 /// <include file='doc\XmlAttributeAttribute.uex' path='docs/doc[@for="XmlAttributeAttribute.Form"]/*' />
95 /// <para>[To be supplied.]</para>
97 public XmlSchemaForm Form {