OpenTypeMethods.SubstringOf Method
Determines whether a substring occurs in another string.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Shared Function SubstringOf ( _
substring As Object, _
targetString As Object _
) As Object
'Usage
Dim substring As Object
Dim targetString As Object
Dim returnValue As Object
returnValue = OpenTypeMethods.SubstringOf(substring, _
targetString)
public static Object SubstringOf(
Object substring,
Object targetString
)
public:
static Object^ SubstringOf(
Object^ substring,
Object^ targetString
)
static member SubstringOf :
substring:Object *
targetString:Object -> Object
public static function SubstringOf(
substring : Object,
targetString : Object
) : Object
Parameters
- substring
Type: System.Object
The substring to locate.
- targetString
Type: System.Object
The string to search.
Return Value
Type: System.Object
true if substring occurs in targetString; otherwise, false.