ReplaceInPlace Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Overload List

NameDescription
Public methodStatic memberReplaceInPlace<(Of <T>)>(IList<(Of <T>)>, Predicate<(Of <T>)>, T)
Replace all items in a list or array that a predicate evaluates at true with a value. The replacement is done in-place, changing the list.
Public methodStatic memberReplaceInPlace<(Of <T>)>(IList<(Of <T>)>, T, T)
Replace all items in a list or array equal to a particular value with another value. The replacement is done in-place, changing the list.
Public methodStatic memberReplaceInPlace<(Of <T>)>(IList<(Of <T>)>, T, T, IEqualityComparer<(Of <T>)>)
Replace all items in a list or array equal to a particular value with another values. The replacement is done in-place, changing the list. A passed IEqualityComparer is used to determine equality.

See Also