LinkedElementCollection<T>.ReplaceAt(Int32, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Replaces a role player at specified index with the given one.
public:
void ReplaceAt(int index, T item);
public void ReplaceAt (int index, T item);
member this.ReplaceAt : int * 'T -> unit
Public Sub ReplaceAt (index As Integer, item As T)
Parameters
- index
- Int32
Index inside collection bounds.
- item
- T
A new role player to be placed at the given index.