HierarchicalDataSourceIDConverter::IsValidDataSource Method (IComponent^)

 

Gets a value indicating whether the specified component is a valid data source.

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

protected:
virtual bool IsValidDataSource(
	IComponent^ component
) override

Parameters

component
Type: System.ComponentModel::IComponent^

An object that implements the IComponent.

Return Value

Type: System::Boolean

true if component is a valid data source; otherwise, false.

The IsValidDataSource method considers component a valid data source if it implements the IHierarchicalDataSource interface.

.NET Framework
Available since 2.0
Return to top
Show: