Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the end of one string matches another string.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Shared Function EndsWith ( _
targetString As Object, _
substring As Object _
) As Object
'Usage
Dim targetString As Object
Dim substring As Object
Dim returnValue As Object
returnValue = OpenTypeMethods.EndsWith(targetString, _
substring)
public static Object EndsWith(
Object targetString,
Object substring
)
public:
static Object^ EndsWith(
Object^ targetString,
Object^ substring
)
static member EndsWith :
targetString:Object *
substring:Object -> Object
public static function EndsWith(
targetString : Object,
substring : Object
) : Object
Parameters
- targetString
Type: System.Object
The string being compared.
- substring
Type: System.Object
The string to compare to.
Return Value
Type: System.Object
true when targetString ends with substring; otherwise, false.
Remarks
An error is raised when the parameters are not strings.