Class
PListBool

Represents a Boolean Value from a PList

Definition

Namespace:CE.iPhone.PList

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class PListBool : PListElement<bool>, IPListElement, IXmlSerializable, IEquatable<IPListElement>

Inheritance: objectPListElement<bool>PListBool

Implements: IEquatable<IPListElement>IPListElementIXmlSerializable

Inherited Members PListElement<bool>.GetSchema()PListElement<bool>.ToString()PListElement<bool>.GetPListElementCount()PListElement<bool>.Equals(IPListElement)PListElement<bool>.Equals(object)PListElement<bool>.GetHashCode()

Constructors

PListBool()

Initializes a new instance of the PListBool class.

Declaration

cs-api-definition
public PListBool()

PListBool(bool)

Initializes a new instance of the PListBool class.

Declaration

cs-api-definition
public PListBool(bool value)

Parameters

value

bool

The Value of this element

Properties

IsBinaryUnique

Gets a value indicating whether this instance is written only once in binary mode.

Declaration

cs-api-definition
public override bool IsBinaryUnique { get; }

Property Value

bool

true this instance is written only once in binary mode; otherwise, false.

Overrides PListElement<bool>.IsBinaryUnique

Tag

Gets the Xml tag of this element.

Declaration

cs-api-definition
public override string Tag { get; }

Property Value

string

The Xml tag of this element.

Overrides PListElement<bool>.Tag

TypeCode

Gets the binary typecode of this element.

Declaration

cs-api-definition
public override byte TypeCode { get; }

Property Value

byte

The binary typecode of this element.

Overrides PListElement<bool>.TypeCode

Value

Gets or sets the value of this element.

Declaration

cs-api-definition
public override bool Value { get; set; }

Property Value

bool

The value of this element.

Overrides PListElement<bool>.Value

Methods

GetPListElementLength()

Gets the length of this PList element.

Declaration

cs-api-definition
public override int GetPListElementLength()

Returns

int

The length of this PList element.

Overrides PListElement<bool>.GetPListElementLength()

Remarks

Provided for internal use only.

Parse(string)

Parses the specified value from a given String, read from Xml.

Declaration

cs-api-definition
protected override void Parse(string value)

Parameters

value

string

The String whis is parsed.

Overrides PListElement<bool>.Parse(string)

ReadBinary(PListBinaryReader)

Reads this element binary from the reader.

Declaration

cs-api-definition
public override void ReadBinary(PListBinaryReader reader)

Parameters

reader

PListBinaryReader

The from which the element is read.

Overrides PListElement<bool>.ReadBinary(PListBinaryReader)

Remarks

Provided for internal use only.

ReadXml(XmlReader)

Generates an object from its XML representation.

Declaration

cs-api-definition
public override void ReadXml(XmlReader reader)

Parameters

reader

XmlReader

The XmlReader stream from which the object is deserialized.

Overrides PListElement<bool>.ReadXml(XmlReader)

ToXmlString()

Gets the XML String representation of the Value.

Declaration

cs-api-definition
protected override string ToXmlString()

Returns

string

The XML String representation of the Value.

Overrides PListElement<bool>.ToXmlString()

WriteBinary(PListBinaryWriter)

Writes this element binary to the writer.

Declaration

cs-api-definition
public override void WriteBinary(PListBinaryWriter writer)

Parameters

writer

PListBinaryWriter

The to which the element is written.

Overrides PListElement<bool>.WriteBinary(PListBinaryWriter)

Remarks

Provided for internal use only.

WriteXml(XmlWriter)

Converts an object into its XML representation.

Declaration

cs-api-definition
public override void WriteXml(XmlWriter writer)

Parameters

writer

XmlWriter

The XmlWriter stream to which the object is serialized.

Overrides PListElement<bool>.WriteXml(XmlWriter)