1 //------------------------------------------------------------------------------
2 // <copyright file="XmlTextAttribute.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 {
12 /// <include file='doc\XmlTextAttribute.uex' path='docs/doc[@for="XmlTextAttribute"]/*' />
14 /// <para>[To be supplied.]</para>
16 [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
17 public class XmlTextAttribute : System.Attribute {
21 /// <include file='doc\XmlTextAttribute.uex' path='docs/doc[@for="XmlTextAttribute.XmlTextAttribute"]/*' />
23 /// <para>[To be supplied.]</para>
25 public XmlTextAttribute() {
28 /// <include file='doc\XmlTextAttribute.uex' path='docs/doc[@for="XmlTextAttribute.XmlTextAttribute1"]/*' />
30 /// <para>[To be supplied.]</para>
32 public XmlTextAttribute(Type type) {
36 /// <include file='doc\XmlTextAttribute.uex' path='docs/doc[@for="XmlTextAttribute.Type"]/*' />
38 /// <para>[To be supplied.]</para>
45 /// <include file='doc\XmlTextAttribute.uex' path='docs/doc[@for="XmlTextAttribute.DataType"]/*' />
47 /// <para>[To be supplied.]</para>
49 public string DataType {
50 get { return dataType == null ? string.Empty : dataType; }
51 set { dataType = value; }