Inserts a String element into the IStringList at the specified index.

Namespace: CodeSmith.CustomProperties
Assembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
void Insert(
	int index,
	string value
)
Visual Basic
Sub Insert ( 
	index As Integer,
	value As String
)

Parameters

index
Type: System..::..Int32
The zero-based index at which value should be inserted.
value
Type: System..::..String
The String object to insert into the IStringList. This argument can be a null reference.

Remarks

Please refer to Insert(Int32, Object) for details.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException

index is less than zero.

-or-

index is greater than Count.

System..::..NotSupportedException

The IStringList is read-only.

-or-

The IStringList has a fixed size.

See Also