Share via


InputFormatter.GetDefaultValueForType(Type) 메서드

정의

지정된 형식의 기본값을 가져옵니다. 본문에 콘텐츠가 없는 경우 기본값을 반환하는 데 사용됩니다.

protected:
 virtual System::Object ^ GetDefaultValueForType(Type ^ modelType);
protected virtual object GetDefaultValueForType (Type modelType);
protected virtual object? GetDefaultValueForType (Type modelType);
abstract member GetDefaultValueForType : Type -> obj
override this.GetDefaultValueForType : Type -> obj
Protected Overridable Function GetDefaultValueForType (modelType As Type) As Object

매개 변수

modelType
Type

값의 유형입니다.

반환

형식의 기본값입니다 modelType .

적용 대상