Methods |
Add(theKey as string, theValue as integer) [Public] |
|
Creates a new "integer" property with key: theKey and value: theValue and adds it to the dict.
NOTE: There can only be one item with a particular key in the dict.
If you add another item with the same key, the existing one will be removed.
|
|
Add(theKey as string, theValue as string) [Public] |
|
Creates a new "string" property with key: theKey and value: theValue and adds it to the dict
NOTE: There can only be one item with a particular key in the dict.
If you add another item with the same key, the existing one will be removed
|
|
Add(theKey as string, theValue as double) [Public] |
|
Creates a new "real" property with key: theKey and value: theValue and adds it to the dict
NOTE: There can only be one item with a particular key in the dict.
If you add another item with the same key, the existing one will be removed
|
|
Add(theKey as string, theValue as boolean) [Public] |
|
Creates a new "boolean" property with key: theKey and value: theValue and adds it to the dict
NOTE: There can only be one item with a particular key in the dict.
If you add another item with the same key, the existing one will be removed
|
|
Add(theKey as string, theProperty as pbsw_PropertyCore) [Public] |
|
Adds theProperty to the dict with key: theKey
NOTE: There can only be one item with a particular key in the dict.
If you add another item with the same key, the existing one will be removed
|
|
Add(theKey as string, theValue as date) [Public] |
|
Creates a new "date" property with key: theKey and value: theValue and adds it to the dict
NOTE: There can only be one item with a particular key in the dict.
If you add another item with the same key, the existing one will be removed
|
|
Clear() [Public] |
|
Removes all the items from the dict
|
|
Constructor() [Public] |
|
the default constructor - creates an empty dict
|
|
Constructor(e as XmlElement) [Public] |
|
Creates the dict from an XMLElement (which is normally retreived from the XML based representation of the plist
|
|
Count() as integer [Public] |
|
returns the number of items in the dict
|
|
GetItem(index as integer) as pbsw_PropertyCore [Public] |
|
Returns the property at position: index
|
|
GetItem(theKey as string) as pbsw_PropertyCore [Public] |
|
Returns the property with key: theKey
|
|
GetItemAsString(index as integer) as string [Public] |
|
Returns the value of the item at position: index as a string
|
|
GetItemAsString(theKey as string) as string [Public] |
|
Returns the value of the item with key: theKey as a string
|
|
GetKey(index as integer) as string [Public] |
|
Returns the key of the item at position: index
|
|
GetTypeAsString() as string [Public] |
|
Returns the type of the property as a string ("dict")
|
|
GetValueAsXMLElement(theXMLDoc as XmlDocument, loopControl as Dictionary = nil, theLevel as integer = 1) as XMLElement [Public] |
|
Returns the XML representation of the property as an XMLElement
theXMLDoc is the XMLDocument to generate the XMLElement with
theLevel is the indent level (tabs will be added where appropriate to keep this level)
loopControl is a Dictionary used to avoid infinite loops caused by circular references in the plist structure
the dict property and all contained properties will be added to loopControl
if a property is already in loopControl, it will not be processed, and an error comment will be produced in the XML
|
|
HasKey(theKey as string) as boolean [Public] |
|
Returns true if a property with key: theKey is in the [top level] of the dict
|
|
Remove(theKey as string) [Public] |
|
Removes the item with key: theKey from the [top level] of the dict (if it exists)
|
|