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

表示要测试的数据类型的 A Type

返回

true 对于可在控件中自动绑定数据的类型;否则,为 false.

适用于