An NDoc Documented Class Library

PathList.Insert Method 

Inserts an element into the PathList at the specified index.

public virtual void Insert(
   int index,
   string item
);

Parameters

index
The zero-based index at which item should be inserted.
item
The String to insert.

Remarks

Will not add item as a new path if that path is already found elsewhere in the collection.

Exceptions

Exception TypeCondition
ArgumentOutOfRangeException

index is less than zero

-or-

index is equal to or greater than Count.

See Also

PathList Class | PathList Members | Genghis Namespace