HierarchicalDataSourceIDConverter.IsValidDataSource Method (IComponent)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 override bool IsValidDataSource(
	IComponent component
)

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: