Export (0) Print
Expand All

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)

public static Object IndexOf(
	Object targetString,
	Object substring
)

Parameters

targetString
Type: System.Object
The target string.
substring
Type: System.Object
The substring to find.

Return Value

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

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

Show:
© 2014 Microsoft