Gets or sets the element 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 of the element to get or set.
Return Value
The element with the specified key.Implements
IDictionary TKey, TValue Item TKeyExceptions
Exception | Condition |
---|---|
System ArgumentNullException | key is null. |
System.Collections.Generic KeyNotFoundException | The property is retrieved and key is not found. |
System NotSupportedException | The property is set and the IDictionary TKey, TValue is read-only. |
See Also