'Declaration
Public Function ReplaceContents (Of TSearch,TNew)( _ ByVal searchValues As IEnumerable(Of TSearch), _ ByVal newValues As IEnumerable(Of TNew) _ ) As Integer
'Usage
Dim instance As LinearWorksheetElement Dim searchValues As IEnumerable(Of TSearch) Dim newValues As IEnumerable(Of TNew) Dim value As Integer value = instance.ReplaceContents(Of TSearch, TNew)(searchValues, newValues)
public int ReplaceContents<TSearch,TNew>( IEnumerable<TSearch> searchValues, IEnumerable<TNew> newValues )
Parameters
- searchValues
- The values that will be searched for.
- newValues
The values that will replace all found instances of the searchValues.
Note that the replacement will respect the position of the data in the searchValues & will follow the established order when replacing said data with the corresponding newValues.
Type Parameters
- TSearch
- TNew