Replace 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 memberReplace<(Of <T>)>(IEnumerable<(Of <T>)>, Predicate<(Of <T>)>, T)
Replace all items in a collection that a predicate evalues at true with a value, yielding another collection. .
Public methodStatic memberReplace<(Of <T>)>(IEnumerable<(Of <T>)>, T, T)
Replace all items in a collection equal to a particular value with another values, yielding another collection.
Public methodStatic memberReplace<(Of <T>)>(IEnumerable<(Of <T>)>, T, T, IEqualityComparer<(Of <T>)>)
Replace all items in a collection equal to a particular value with another values, yielding another collection. A passed IEqualityComparer is used to determine equality.

See Also