Επεξεργασία

Κοινή χρήση μέσω


ListView.FindPlaceholder(String, Control) Method

Definition

Searches the specified container for a control that has the specified identifier.

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

Parameters

containerID
String

The identifier for the control to be found.

container
Control

The container to be searched.

Returns

The specified control, or null if the specified control cannot be found.

Remarks

This method is primarily used by control developers to extend the ListView control.

Applies to

See also