XmlConvert.ToInt16(String) 메서드

정의

해당 값으로 String 변환합니다Int16.

public:
 static short ToInt16(System::String ^ s);
public static short ToInt16(string s);
static member ToInt16 : string -> int16
Public Shared Function ToInt16 (s As String) As Short

매개 변수

s
String

변환할 문자열입니다.

반품

Int16 문자열에 해당하는 값입니다.

예외

snull입니다.

s 가 올바른 형식이 아닙니다.

sInt16.MinValue 보다 작거나 Int16.MaxValue보다 큰 숫자를 나타냅니다.

적용 대상