OrderedDictionary<TKey,TValue>.SetAt Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetAt(Int32, TValue) |
Sets the value for the key at the specified index. |
SetAt(Int32, TKey, TValue) |
Sets the key/value pair at the specified index. |
SetAt(Int32, TValue)
Sets the value for the key at the specified index.
public:
void SetAt(int index, TValue value);
public void SetAt (int index, TValue value);
member this.SetAt : int * 'Value -> unit
Public Sub SetAt (index As Integer, value As TValue)
Parameters
- index
- Int32
The zero-based index of the element to get or set.
- value
- TValue
The value to store at the specified index.
Applies to
SetAt(Int32, TKey, TValue)
Sets the key/value pair at the specified index.
public:
void SetAt(int index, TKey key, TValue value);
public void SetAt (int index, TKey key, TValue value);
member this.SetAt : int * 'Key * 'Value -> unit
Public Sub SetAt (index As Integer, key As TKey, value As TValue)
Parameters
- index
- Int32
The zero-based index of the element to get or set.
- key
- TKey
The key to store at the specified index.
- value
- TValue
The value to store at the specified index.