IDictionary_DG Interface
- GetItemCount
- GetItemName
- GetItemDescription
- GetItemType
- GetInt
- SetInt
- GetUint64
- SetUint64
- GetDouble
- SetDouble
- GetBool
- SetBool
- Get3State
- Set3State
- GetString
- SetString
- Get
- Set
- GetInterface
- SetInterface
- HasItem
- RemoveItem
Represents a Dictionary object used to pass sets of named parameters and their values. Most often is used as a variable argument set in method/function calls.
Get*() methods throw an exception is the name was not found. Use the HasItem method to check for existence. Exception: GetString() returns an empty string if was not in the dectionary.
A standalone dictionary can be created via IObjectGenerator_DG.Create("IDictionary_DG") > IDictionary_DG query.
int GetItemCount(EDictionaryType_DG type)
string GetItemName(int id)
string GetItemDescription(string name)
EDictionaryType_DG GetItemType(string name)
int GetInt(string name)
void GetUint64(string name, int val)
int SetUint64(string name)
void SetInt(string name, int val)
double GetDouble(string name)
void SetDouble(string name, double val)
bool GetBool(string name)
ThreeState_DG SetBool(string name, bool val)
Returns ThreeState_DG.True is the item was present in the dictionary and it has been modified by this call.
Returns ThreeState_DG.False is the item was present in the dictionary and had the same value as val.
Returns ThreeState_DG.Unknown is the item was not present in the dictionary.
ThreeState_DG Get3State(string name)
void Set3State(string name, ThreeState_DG val)
string GetString(string name)
void SetString(string name, string val)
Object Get(string name)
void Set(string name, Object param)
IUnk GetInterface(string name)
void SetInterface(string name, IUnk interf)
bool HasItem(string name)
bool RemoveItem(string name)
|