DataBinder.IsBindableType(Type) 方法

定義

判斷是否可以繫結指定的資料類型。

public:
 static bool IsBindableType(Type ^ type);
public static bool IsBindableType (Type type);
static member IsBindableType : Type -> bool
Public Shared Function IsBindableType (type As Type) As Boolean

參數

type
Type

Type,表示要測試的資料類型。

傳回

Boolean

如果是可以在控制項中自動資料繫結的類型,則為 true,否則為false

適用於