StringPrototype.localeCompare(Object, Object) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 두 문자열을 비교하고 해당 문자열 간의 어휘 관계를 나타내는 정수(integer)를 반환합니다.
이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.
public:
static int localeCompare(System::Object ^ thisob, System::Object ^ thatob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_localeCompare)]
public static int localeCompare(object thisob, object thatob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.String_localeCompare)>]
static member localeCompare : obj * obj -> int
Public Shared Function localeCompare (thisob As Object, thatob As Object) As Integer
매개 변수
- thisob
- Object
이 메서드가 동작하는 개체입니다.
- thatob
- Object
비교할 문자열입니다 thisob.
반품
0보다 작으면 thisob 음수 값이고, 같으면 thisobthatob0이고, 양수 값은 1보다 thatob큰 경우 thisob 입니다.thatob
- 특성