Returns the zero-based index of the first occurrence of the specified
NameValueEntry in the IStringStringList.
Namespace: CodeSmith.CustomPropertiesAssembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
| C# |
|---|
int IndexOf( NameValueEntry entry ) |
| Visual Basic |
|---|
Function IndexOf ( entry As NameValueEntry ) As Integer |
Parameters
- entry
- Type: CodeSmith.CustomProperties..::..NameValueEntry
The NameValueEntry object to locate in the IStringStringList.
Return Value
Type: Int32The zero-based index of the first occurrence of entry in the IStringStringList, if found; otherwise, -1.
Remarks
Please refer to IndexOf(Object) for details.