[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Replaces all values associated with key with the single value value.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public virtual bool Replace(
TKey key,
TValue value
) |
Visual Basic (Declaration) |
---|
Public Overridable Function Replace ( _
key As TKey, _
value As TValue _
) As Boolean |
Visual C++ |
---|
public:
virtual bool Replace (
TKey key,
TValue value
) |
Parameters
- key
- TKey
The key to associate with.
- value
- TValue
The new values to be associated with key.
Return Value
Returns true if some values were removed. Returns false if
key was not
present in the dictionary before Replace was called.
Remarks
See Also