GridView.IsBindableType(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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: