XmlIncludeAttribute public class XmlIncludeAttribute : Attribute Allows the XmlSerializer to recognize a type when it serializes or deserializes an object. Documentation public Type Type { get; set; } Gets or sets the type of the object to include. public XmlIncludeAttribute(Type type) Initializes a new instance of the XmlIncludeAttribute class.