Name

XmlRootAttribute — System.Xml.Serialization (system.xml.dll) CF 1.0  class 

Synopsis

public class XmlRootAttribute : Attribute {
// Public Constructors
   public XmlRootAttribute( );  
   public XmlRootAttribute( string elementName);  
// Public Instance Properties
   public string DataType{set; get; } 
   public string ElementName{set; get; } 
   public bool IsNullable{set; get; } 
   public string Namespace{set; get; } 
}

This type is used to indicate the class that will be serialized to XML as the root element. Its ElementName property indicates the name of the element to be serialized.

Hierarchy

System.ObjectSystem.AttributeXmlRootAttribute

Valid On

Class, Struct, Enum, Interface, ReturnValue

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.54.136