This documentation is archived and is not being maintained.
TFStringComparer::IndexOf Method
Visual Studio 2013
Gets the index in the specified string that the first occurrence of the specified pattern appears.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Return Value
Type: System::Int32The index in the specified string that the specified pattern begins; -1 if the pattern does not exist in the string; 0 if the string is empty.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: