HtmlHeadBuilder.GetChildControlType Method (String, IDictionary)


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

Obtains the Type for the HtmlHead control's child controls.

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

public override Type GetChildControlType(
	string tagName,
	IDictionary attribs


Type: System.String

The tag name of the child control.

Type: System.Collections.IDictionary

An array of attributes contained in the child control.

Return Value

Type: System.Type

The Type of the specified control's child control.

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

.NET Framework
Available since 2.0
Return to top