OpenTypeMethods.StartsWith Method
Checks whether the target string starts with the substring.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Shared Function StartsWith ( _
targetString As Object, _
substring As Object _
) As Object
'Usage
Dim targetString As Object
Dim substring As Object
Dim returnValue As Object
returnValue = OpenTypeMethods.StartsWith(targetString, _
substring)
public static Object StartsWith(
Object targetString,
Object substring
)
public:
static Object^ StartsWith(
Object^ targetString,
Object^ substring
)
static member StartsWith :
targetString:Object *
substring:Object -> Object
public static function StartsWith(
targetString : Object,
substring : Object
) : Object
Parameters
- targetString
Type: System.Object
The string being compared.
- substring
Type: System.Object
The substring that the targetString might start with.
Return Value
Type: System.Object
true if the target string starts with the given substring; otherwise, false.