RemoveAt Method (PageCollection)
Removes a
Page object from the
PageCollection at the specified index.
public void RemoveAt(
int
)
'Declaration
Public Sub RemoveAt( _
ByVal As Integer _
)
Parameters
- index
- A zero-based System.Int32 index at which to remove the Page object.
PageCollection collection = new PageCollection();
collection.Add(new Page());
collection.RemoveAt(0);