1 //------------------------------------------------------------------------------
2 // <copyright file="SoapElementAttribute.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 /// <include file='doc\SoapElementAttribute.uex' path='docs/doc[@for="SoapElementAttribute"]/*' />
13 /// <para>[To be supplied.]</para>
15 [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.ReturnValue)]
16 public class SoapElementAttribute : System.Attribute {
21 /// <include file='doc\SoapElementAttribute.uex' path='docs/doc[@for="SoapElementAttribute.SoapElementAttribute"]/*' />
23 /// <para>[To be supplied.]</para>
25 public SoapElementAttribute() {
28 /// <include file='doc\SoapElementAttribute.uex' path='docs/doc[@for="SoapElementAttribute.SoapElementAttribute1"]/*' />
30 /// <para>[To be supplied.]</para>
32 public SoapElementAttribute(string elementName) {
33 this.elementName = elementName;
36 /// <include file='doc\SoapElementAttribute.uex' path='docs/doc[@for="SoapElementAttribute.ElementName"]/*' />
38 /// <para>[To be supplied.]</para>
40 public string ElementName {
41 get { return elementName == null ? string.Empty : elementName; }
42 set { elementName = value; }
45 /// <include file='doc\SoapElementAttribute.uex' path='docs/doc[@for="SoapElementAttribute.DataType"]/*' />
47 /// <para>[To be supplied.]</para>
49 public string DataType {
50 get { return dataType == null ? string.Empty : dataType; }
51 set { dataType = value; }
54 /// <include file='doc\SoapElementAttribute.uex' path='docs/doc[@for="SoapElementAttribute.IsNullable"]/*' />
56 /// <para>[To be supplied.]</para>
58 public bool IsNullable {
59 get { return nullable; }
60 set { nullable = value; }