編輯

共用方式為


GridView.IsBindableType(Type) Method

Definition

Determines whether the specified data type can be bound to a column in a GridView control.

public:
 virtual bool IsBindableType(Type ^ type);
public virtual bool IsBindableType (Type type);
abstract member IsBindableType : Type -> bool
override this.IsBindableType : Type -> bool
Public Overridable Function IsBindableType (type As Type) As Boolean

Parameters

type
Type

A Type that represents the data type to test.

Returns

true if the specified data type can be bound to a column in a GridView control; otherwise, false.

Remarks

The IsBindableType method is a helper method that is commonly used by control developers to programmatically determine whether the specified data type can be bound to a column in a GridView control. The following data types can be bound to a column in a GridView control:

Applies to

See also