DekGenius.com
[ Team LiB ] Previous Section Next Section

SoapIncludeAttributeSystem.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.

Hierarchy

System.Object System.Attribute SoapIncludeAttribute

Valid On

Class, Struct, Method

    [ Team LiB ] Previous Section Next Section