9 private bool soapIgnore;
19 private object soapDefaultValue;
21 internal SoapAttributeFlags SoapFlags
25 SoapAttributeFlags soapAttributeFlags = (SoapAttributeFlags)0;
26 if (soapElement !=
null)
28 soapAttributeFlags |= SoapAttributeFlags.Element;
30 if (soapAttribute !=
null)
32 soapAttributeFlags |= SoapAttributeFlags.
Attribute;
36 soapAttributeFlags |= SoapAttributeFlags.Enum;
40 soapAttributeFlags |= SoapAttributeFlags.Type;
42 return soapAttributeFlags;
109 return soapAttribute;
113 soapAttribute = value;
123 return soapDefaultValue;
127 soapDefaultValue = value;
141 for (
int i = 0; i < customAttributes.Length; i++)
172 soapAttribute =
null;
175 soapDefaultValue =
null;
Specifies the default value for a property.
object [] GetCustomAttributes(Type attributeType, bool inherit)
Returns an array of custom attributes defined on this member, identified by type, or an empty array i...
Represents a collection of attribute objects that control how the T:System.Xml.Serialization....
Marks the program elements that are no longer in use. This class cannot be inherited.
Instructs the T:System.Xml.Serialization.XmlSerializer not to serialize the public field or public re...
Controls how the T:System.Xml.Serialization.XmlSerializer serializes an enumeration member.
SoapAttributes()
Initializes a new instance of the T:System.Xml.Serialization.SoapAttributes class.
bool SoapIgnore
Gets or sets a value that specifies whether the T:System.Xml.Serialization.XmlSerializer serializes a...
Specifies that the public member value be serialized by the T:System.Xml.Serialization....
SoapEnumAttribute SoapEnum
Gets or sets an object that specifies how the T:System.Xml.Serialization.XmlSerializer serializes a S...
object SoapDefaultValue
Gets or sets the default value of an XML element or attribute.
SoapElementAttribute SoapElement
Gets or sets a T:System.Xml.Serialization.SoapElementAttribute to override.
SoapAttributeAttribute SoapAttribute
Gets or sets the T:System.Xml.Serialization.SoapAttributeAttribute to override.
SoapAttributes(ICustomAttributeProvider provider)
Initializes a new instance of the T:System.Xml.Serialization.SoapAttributes class using the specified...
Specifies that the T:System.Xml.Serialization.XmlSerializer must serialize the class member as an enc...
Attribute()
Initializes a new instance of the T:System.Attribute class.
Controls the schema generated by the T:System.Xml.Serialization.XmlSerializer when a class instance i...
SoapTypeAttribute SoapType
Gets or sets an object that instructs the T:System.Xml.Serialization.XmlSerializer how to serialize a...
Provides custom attributes for reflection objects that support them.