Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


Control.ControlCollection.Find(String, Boolean) Method

Definition

Searches for controls by their Name property and builds an array of all the controls that match.

public System.Windows.Forms.Control[] Find (string key, bool searchAllChildren);

Parameters

key
String

The key to locate in the Control.ControlCollection.

searchAllChildren
Boolean

true to search all child controls; otherwise, false.

Returns

An array of type Control containing the matching controls.

Exceptions

key is null or the empty string ("").

Applies to

Termék Verziók
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9