EmailTemplate class
Revision as of 09:29, 29 August 2016 by Tranvuthaibinh (talk | contribs)
Dictionary
The dictionary object
Constructors
- () - Create a new dictionary with non-argument.
{{CGscriptConstructors_Template
Methods
- bool Add(string key "Add with specific key", object value "Add with specific value") - Adds the specified key and value to the dictionary.
- bool Add(int key "Add with specific key", object value "Add with specific value") - Adds the specified key and value to the dictionary.
- Empty Add(Dictionary src "Source of keys and values to add") - Adds the all keys and values from src to current.
- Empty Clear() - Remove all keys and values from the dictionary.
- bool ContainsKey(string key "Check with specific key") - Determines whether the dictionary contains the specified key.
- bool ContainsKey(int key "Check with specific key") - Determines whether the dictionary contains the specified key.
- bool ContainsValue(object value "Add with specific value") - Determines whether the dictionary contains the specified value.
- object this[] { get; }(string key "The key used to lookup the value.") - Get an item based on a key.
- object this[] { get; }(int key "The key used to lookup the value.") - Get an item based on a key.
- object Remove(string key "Check with specific key") - Remove the value with the specified key from the dictionary.
- object Remove(int key "Remove with specific key") - Remove the value with the specified key from the dictionary.
- Empty this[] { set; }(string key "The key used to lookup the value.", object value "The value to set.") - Set an item based on a key and a value.
- Empty this[] { set; }(int key "The key used to lookup the value.", object value "The value to set.") - Set an item based on a key and a value.
- string ToString() - The string representation of the object.
- object TryGetValue(string key "Remove with specific key") - Gets the value associated with the specified key.
- object TryGetValue(int key "Remove with specific key") - Gets the value associated with the specified key.
Properties
- int Count { get; } - Gets the number of key/value pairs contained in the dictionary.
- array Keys { get; } - Gets a list of keys.
- string ObjectTypeName { get; } - The name of the type of object.
- array SortedKeys { get; } - Gets a list of keys sorted by current collation.
- TypeInformation TypeInformation { get; } - Get information about this class.
- array Values { get; } - Gets a list of values.