HtmlHeadBuilder.GetChildControlType(String, IDictionary) 方法

定义

Type HtmlHead获取控件的子控件。

public:
 override Type ^ GetChildControlType(System::String ^ tagName, System::Collections::IDictionary ^ attribs);
public override Type GetChildControlType(string tagName, System.Collections.IDictionary attribs);
override this.GetChildControlType : string * System.Collections.IDictionary -> Type
Public Overrides Function GetChildControlType (tagName As String, attribs As IDictionary) As Type

参数

tagName
String

子控件的标记名称。

attribs
IDictionary

子控件中包含的属性数组。

返回

Type指定控件的子控件。

注解

该方法GetChildControlType返回由HtmlTitleHtmlLinkHtmlMeta控件和控件表示的子 HTML 元素的控件类型。 此方法为所有其他子控件返回 null 引用(Nothing in Visual Basic)。

适用于

另请参阅