Edit

Share via


FormView.IsBindableType(Type) Method

Definition

Determines whether the specified data type can be bound to a field in the FormView 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 check.

Returns

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

Remarks

The IsBindableType method is a helper method called by the FormView control to determine whether the specified data type can be bound to a field in the control. The FormView control supports the following data types:

Notes to Inheritors

When extending the FormView class, you can override this method to add or restrict the data types that can be used in a FormView control.

Applies to

See also