Class
PListInteger

Represents an integer Value from a PList

Definition

Constructors

PListInteger()

Initializes a new instance of the PListInteger class.

Declaration

cs-api-definition
public PListInteger()

PListInteger(long)

Initializes a new instance of the PListInteger class.

Declaration

cs-api-definition
public PListInteger(long value)

Parameters

value

long

The value of this element.

Properties

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<long>.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<long>.TypeCode

Value

Gets or sets the value of this element.

Declaration

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

Property Value

long

The value of this element.

Overrides PListElement<long>.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<long>.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<long>.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<long>.ReadBinary(PListBinaryReader)

Remarks

Provided for internal use only.

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<long>.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<long>.WriteBinary(PListBinaryWriter)

Remarks

Provided for internal use only.