Class
PListString

Represents an string Value from a PList

Definition

Constructors

PListString()

Initializes a new instance of the PListString class.

Declaration

cs-api-definition
public PListString()

PListString(string)

Initializes a new instance of the PListString class.

Declaration

cs-api-definition
public PListString(string value)

Parameters

value

string

The value.

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

Value

Gets or sets the value of this element.

Declaration

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

Property Value

string

The value of this element.

Overrides PListElement<string>.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<string>.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<string>.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<string>.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<string>.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<string>.WriteBinary(PListBinaryWriter)

Remarks

Provided for internal use only.