InputFormatter.CanReadType(Type) 方法

定義

判斷這 InputFormatter 是否可以還原序列化指定 type 的物件。

protected:
 virtual bool CanReadType(Type ^ type);
protected virtual bool CanReadType (Type type);
abstract member CanReadType : Type -> bool
override this.CanReadType : Type -> bool
Protected Overridable Function CanReadType (type As Type) As Boolean

參數

type
Type

Type要讀取之 物件的 。

傳回

truetype如果 可以讀取 ,則為 ,否則 false 為 。

適用於