Gets the value associated with the specified key.
Namespace: ElecNetKit.NetworkModelling.PhasingAssembly: ElecNetKit.Core (in ElecNetKit.Core.dll) Version: 1.1.4771.27370 (1.1.0.0)
Syntax
Parameters
- key
- Type: System Int32
The key whose value to get.
- value
- Type: T
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
true if the object that implements IDictionary TKey, TValue contains an element with the specified key; otherwise, false.Implements
IDictionary TKey, TValue TryGetValue(TKey, TValue )Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | key is null. |
See Also