SerializationInfo.GetDecimal(String) 메서드

정의

저장소에서 10진수 값을 검색합니다 SerializationInfo .

public:
 System::Decimal GetDecimal(System::String ^ name);
public decimal GetDecimal(string name);
member this.GetDecimal : string -> decimal
Public Function GetDecimal (name As String) As Decimal

매개 변수

name
String

검색할 값과 연결된 이름입니다.

반품

의 10진수 값입니다 SerializationInfo.

예외

namenull입니다.

연결된 name 값을 10진수로 변환할 수 없습니다.

지정된 이름의 요소를 현재 인스턴스에서 찾을 수 없습니다.

설명

값이 10진수이거나 10진수로 변환될 수 있으면 해당 값이 반환됩니다. 그렇지 않으면 throw InvalidCastException 됩니다. 모든 변환은 이 SerializationInfo연결에 IFormatterConverter 의해 수행됩니다.

적용 대상