Bridge

String..::..EndsWith Method

Determines whether the end of this string instance matches the specified string.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public bool EndsWith(
	string suffix
)
<TemplateAttribute> _
Public Function EndsWith ( _
	suffix As String _
) As Boolean
[TemplateAttribute]
public:
bool^ EndsWith(
	String^ suffix
)

Parameters

suffix
Type: System..::..String

Return Value

true if value matches the end of this instance; otherwise, false.

Exceptions


ExceptionCondition
System..::..ArgumentNullExceptionvalue is null.