StringSegment.EndsWith(String, StringComparison) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정한 comparisonType
을 사용하여 비교할 때 이 StringSegment의 끝부분과 지정한 String이 일치하는지 확인합니다.
public:
bool EndsWith(System::String ^ text, StringComparison comparisonType);
public bool EndsWith (string text, StringComparison comparisonType);
member this.EndsWith : string * StringComparison -> bool
Public Function EndsWith (text As String, comparisonType As StringComparison) As Boolean
매개 변수
- comparisonType
- StringComparison
비교에 사용할 규칙을 지정하는 열거형 값 중 하나입니다.
반환
text
가 이 StringSegment의 끝부분과 일치하면 true
이고, 그렇지 않으면 false
입니다.
예외
text
이(가) null
인 경우