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

适用于