ClassPListRoot
Represents a PList File
Definition
Namespace:CE.iPhone.PList
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class PListRoot : IXmlSerializable
Inheritance: objectPListRoot
Implements:
Constructors
PListRoot()
Declaration
public PListRoot()
Properties
Format
Gets or sets a value indicating whether this PListRoot is stored in binary format.
Declaration
public PListFormat Format { get; set; }
Property Value
true if stored in binary format; otherwise, false.
Root
Gets or sets the root PList-Element.
Declaration
public IPListElement Root { get; set; }
Property Value
The root PList-Element.
Methods
GetSchema()
This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.
Load(Stream)
Loads the PList from specified stream.
Load(string)
Loads the PList from specified file.
ReadXml(XmlReader)
Generates an object from its XML representation.
Save(Stream)
Saves the PList to the specified stream.
Declaration
public void Save(Stream stream)
Parameters
stream
The stream in which the PList is saves.
Save(Stream, PListFormat)
Saves the PList to the specified stream.
Declaration
public void Save(Stream stream, PListFormat format)
Parameters
stream
The stream in which the PList is saves.
format
The format of the PList (Binary/Xml).
Save(string)
Saves the PList to the specified path.
Declaration
public void Save(string fileName)
Parameters
fileName
The path of the PList.
Save(string, PListFormat)
Saves the PList to the specified path.
Declaration
public void Save(string fileName, PListFormat format)
Parameters
fileName
The path of the PList.
format
The format of the PList (Binary/Xml).
WriteXml(XmlWriter)
Converts an object into its XML representation.