SerializationInfo.GetSByte(String) 메서드

정의

중요

이 API는 CLS 규격이 아닙니다.

SerializationInfo 저장소에서 부호 있는 8비트 정수 값을 검색합니다.

public:
 System::SByte GetSByte(System::String ^ name);
[System.CLSCompliant(false)]
public sbyte GetSByte (string name);
[<System.CLSCompliant(false)>]
member this.GetSByte : string -> sbyte
Public Function GetSByte (name As String) As SByte

매개 변수

name
String

검색할 값과 관련된 이름입니다.

반환

SByte

name과 관련된 부호 있는 8비트 정수입니다.

특성

예외

name이(가) null인 경우

name과 관련된 값을 부호 있는 8비트 정수로 변환할 수 없는 경우

지정된 이름을 가진 요소가 현재 인스턴스에 없는 경우

설명

값이 값이거나 Int8해당 값으로 변환 Int8될 수 있으면 해당 값이 반환되고, 그렇지 않으면 throw InvalidCastException 됩니다. 모든 변환은 이와 SerializationInfo관련된 작업을 IFormatterConverter 통해 수행됩니다.

적용 대상