Share via


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

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

VssStringComparer Class

Microsoft.VisualStudio.Services.Common Namespace