DataBinder.IsBindableType Method (Type)

.NET Framework (current version)
 

Determines whether the specified data type can be bound.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public static bool IsBindableType(
	Type type
)

Parameters

type
Type: System.Type

A Type that represents the data type to test.

Return Value

Type: System.Boolean

true for types that can be automatically data bound in controls; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: