November 2003
Intermediate to advanced
476 pages
14h 38m
English
SoapIncludeAttribute — System.Xml.Serialization (system.xml.dll) CF 1.0 class
public class SoapIncludeAttribute : Attribute { // Public Constructors public SoapIncludeAttribute( Type type); // Public Instance Properties public Type Type{set; get; } }
This attribute
is used to change the type of an object that is serialized to SOAP to
a specific subclass. For example, a type specified as a
System.Object in the code may be serialized as a
specific subclass such as System.String by setting
the Type property to
typeof(System.String). Like all the SOAP
attributes, it can be applied in code or via the
SoapAttributeOverrides object.
System.Object →
System.Attribute →
SoapIncludeAttribute
Class, Struct, Method