XsltFunctions.StartsWith(String, String) 메서드

정의

starts-with 따라 XPath 함수를 구현합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

public:
 static bool StartsWith(System::String ^ s1, System::String ^ s2);
public static bool StartsWith(string s1, string s2);
static member StartsWith : string * string -> bool
Public Shared Function StartsWith (s1 As String, s2 As String) As Boolean

매개 변수

s1
String

문자열로, 시작 부분과 비교됩니다 s2.

s2
String

의 시작 부분과 비교할 문자열입니다 s1.

반품

true첫 번째 인수 문자열이 두 번째 인수 문자열로 시작되면 이고, 그렇지 않으면 . false

적용 대상