Export (0) Print
Expand All

OpenTypeMethods.EndsWith Method

Determines whether the end of one string matches another string.

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

public static Object EndsWith(
	Object targetString,
	Object substring
)

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.

An error is raised when the parameters are not strings.

Show:
© 2014 Microsoft