VssStringComparer.IndexOf Method
Namespace: Microsoft.VisualStudio.Services.Common
Assembly: Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)
Syntax
'Declaration
Public Function IndexOf ( _
main As String, _
pattern As String _
) As Integer
public int IndexOf(
string main,
string pattern
)
public:
int IndexOf(
String^ main,
String^ pattern
)
member IndexOf :
main:string *
pattern:string -> int
public function IndexOf(
main : String,
pattern : String
) : int
Parameters
- main
Type: System.String
- pattern
Type: System.String
Return Value
Type: System.Int32
.NET Framework Security
- 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.