System.Web.UI.HtmlControls.HtmlHeadBuilder.GetChildControlType Method

Obtains the Type for the System.Web.UI.HtmlControls.HtmlHead control's child controls.

Syntax

public override Type GetChildControlType (string tagName, IDictionary attribs)

Parameters

tagName
The tag name of the child control.
attribs
An array of attributes contained in the child control.

Returns

The Type of the specified control's child control.

Remarks

The HtmlHeadBuilder.GetChildControlType(string, IDictionary) method returns the control type for child HTML elements represented by System.Web.UI.HtmlControls.HtmlTitle, System.Web.UI.HtmlControls.HtmlLink, and System.Web.UI.HtmlControls.HtmlMeta controls. This method returns a null reference (Nothing in Visual Basic) for all other child controls.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0