OpenTypeMethods.IndexOf Method

Returns the index of a substring in the target string.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Shared Function IndexOf ( _
    targetString As Object, _
    substring As Object _
) As Object
'Usage
Dim targetString As Object 
Dim substring As Object 
Dim returnValue As Object 

returnValue = OpenTypeMethods.IndexOf(targetString, _
    substring)
public static Object IndexOf(
    Object targetString,
    Object substring
)
public:
static Object^ IndexOf(
    Object^ targetString, 
    Object^ substring
)
static member IndexOf : 
        targetString:Object * 
        substring:Object -> Object
public static function IndexOf(
    targetString : Object, 
    substring : Object
) : Object

Parameters

Return Value

Type: System.Object
The index of the location of substring in the targetString.

Remarks

The IndexOf method returns a null value when substring cannot be found in targetString.

See Also

Reference

OpenTypeMethods Class

System.Data.Services.Providers Namespace