Returns the zero-based index of the first occurrence of the specified String in the IStringList.

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

Syntax

C#
int IndexOf(
	string value
)
Visual Basic
Function IndexOf ( 
	value As String
) As Integer

Parameters

value
Type: System..::..String
The String object to locate in the IStringList. This argument can be a null reference.

Return Value

Type: Int32
The zero-based index of the first occurrence of value in the IStringList, if found; otherwise, -1.

Remarks

Please refer to IndexOf(Object) for details.

See Also