Replaces the item with the specified key.
Namespace: System.Extensions.Collections.ObjectModelAssembly: System.Extensions (in System.Extensions.dll) Version: 0.0.0.5 (0.0.0.5)
Syntax
C# |
---|
protected virtual void SetItem(
TKey key,
TValue value
) |
Visual Basic |
---|
Protected Overridable Sub SetItem (
key As TKey,
value As TValue
) |
Visual C++ |
---|
protected:
virtual void SetItem(
TKey key,
TValue value
) |
F# |
---|
abstract SetItem :
key : 'TKey *
value : 'TValue -> unit
override SetItem :
key : 'TKey *
value : 'TValue -> unit |
Parameters
- key
- Type: TKey
The key of the item to replace.
- value
- Type: TValue
The item to replace it with.
See Also