ListView.FindPlaceholder(String, Control) 方法

定义

在指定容器中搜索具有指定标识符的控件。

protected:
 virtual System::Web::UI::Control ^ FindPlaceholder(System::String ^ containerID, System::Web::UI::Control ^ container);
protected virtual System.Web.UI.Control FindPlaceholder (string containerID, System.Web.UI.Control container);
abstract member FindPlaceholder : string * System.Web.UI.Control -> System.Web.UI.Control
override this.FindPlaceholder : string * System.Web.UI.Control -> System.Web.UI.Control
Protected Overridable Function FindPlaceholder (containerID As String, container As Control) As Control

参数

containerID
String

要查找的控件的标识符。

container
Control

要搜索的容器。

返回

Control

指定的控件;或者,如果找不到指定的控件,则为 null

注解

此方法主要用于控件开发人员扩展控件 ListView

适用于

另请参阅