PIs Object

Properties Methods Associated objects

The PIs object stores a collection of PI objects, as an XML document can have more than one processing instruction.

Properties

count

Integer value, the number of PI objects there are in the collection.

item(index as Integer)

Returns a PI object depending on the given index.

Methods

add(name as String, value as String)

Given a name and a value for a PI object, it creates a PI and adds it to the collection.

remove(index as Integer)

It removes a PI given an index for the PI to be removed from the collection.

Associated objects

PI (Child)