InputFormatter.GetDefaultValueForType(Type) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した型の既定値を取得します。 本文にコンテンツが含まれない場合に既定値を返すために使用します。
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
既定値。