Returns the zero-based index of the first occurrence of the specified
String in the IStringList.
Namespace: CodeSmith.CustomPropertiesAssembly: 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: Int32The zero-based index of the first occurrence of value in the IStringList, if found; otherwise, -1.
Remarks
Please refer to IndexOf(Object) for details.