CaseInsensitiveComparison.EndsWith(String, String) 方法

定义

确定字符串“value”是否以字符串“possibleEnd”结尾。

public:
 static bool EndsWith(System::String ^ value, System::String ^ possibleEnd);
public static bool EndsWith (string value, string possibleEnd);
static member EndsWith : string * string -> bool
Public Shared Function EndsWith (value As String, possibleEnd As String) As Boolean

参数

value
String
possibleEnd
String

返回

适用于