IConvertible.ToInt16(IFormatProvider) 메서드
정의
지정된 문화권별 형식 지정 정보를 사용하여 이 인스턴스의 값을 해당하는 부호 있는 16비트 정수로 변환합니다.Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
public:
short ToInt16(IFormatProvider ^ provider);
public short ToInt16 (IFormatProvider provider);
public short ToInt16 (IFormatProvider? provider);
abstract member ToInt16 : IFormatProvider -> int16
Public Function ToInt16 (provider As IFormatProvider) As Short
매개 변수
- provider
- IFormatProvider
문화권별 형식 지정 정보를 제공하는 IFormatProvider 인터페이스의 구현입니다.An IFormatProvider interface implementation that supplies culture-specific formatting information.
반환
이 인스턴스의 값에 해당하는 부호 있는 16비트 정수입니다.An 16-bit signed integer equivalent to the value of this instance.