OpenTypeMethods.EndsWith(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the end of one string matches another string.
public:
static System::Object ^ EndsWith(System::Object ^ targetString, System::Object ^ substring);
public static object EndsWith(object targetString, object substring);
static member EndsWith : obj * obj -> obj
Public Shared Function EndsWith (targetString As Object, substring As Object) As Object
Parameters
- targetString
- Object
The string being compared.
- substring
- Object
The string to compare to.
Returns
true
if targetString
ends with substring
; otherwise, false
.
Remarks
An error is raised when the parameters are not strings.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา