Share via


DecimalType.Parse(String, NumberFormatInfo) 메서드

정의

지정된 문자열 및 숫자 형식 정보에 해당하는 Decimal 값을 반환합니다.

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

public:
 static System::Decimal Parse(System::String ^ Value, System::Globalization::NumberFormatInfo ^ NumberFormat);
public static decimal Parse (string Value, System.Globalization.NumberFormatInfo? NumberFormat);
public static decimal Parse (string Value, System.Globalization.NumberFormatInfo NumberFormat);
static member Parse : string * System.Globalization.NumberFormatInfo -> decimal
Public Shared Function Parse (Value As String, NumberFormat As NumberFormatInfo) As Decimal
Public Function Parse (Value As String, NumberFormat As NumberFormatInfo) As Decimal

매개 변수

Value
String

필수 요소. Decimal 값으로 변환할 문자열입니다.

NumberFormat
NumberFormatInfo

문화권에 따라 숫자 값의 서식이 지정되고 표시되는 방법을 정의하는 NumberFormatInfo 개체입니다.

반환

Value에 해당하는 Decimal 값입니다.

설명

이 클래스는 Visual Basic 컴파일러를 지원 하며 코드에서 직접 사용할 수 없습니다.

적용 대상