언어

Type.GetNullableUnderlyingType 메서드

정의

현재 nullable 형식의 기본 형식 인수를 가져옵니다.

public:
 virtual Type ^ GetNullableUnderlyingType();
public virtual Type? GetNullableUnderlyingType();
abstract member GetNullableUnderlyingType : unit -> Type
override this.GetNullableUnderlyingType : unit -> Type
Public Overridable Function GetNullableUnderlyingType () As Type

반품

현재 형식이 생성된 Nullable<T> 형식이면 기본 형식 인수이고, null그렇지 않으면 .

예외

현재 형식은 이 메서드를 재정의하지 않는 파생 형식입니다.

설명

파생 클래스는 이 메서드를 재정의해야 합니다. 기본 구현이 throw됩니다.NotSupportedException

적용 대상