Recursively search Control hierarcy for ALL controls that
matches the given Predicate and returns them as T.
Namespace: MonoSoftware.WebAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static IEnumerable<T> Select<T>(
this Control from,
Predicate<Control> predicate
)
where T : Control
|
Visual Basic |
---|
<ExtensionAttribute>
Public Shared Function Select(Of T As Control) (
from As Control,
predicate As Predicate(Of Control)
) As IEnumerable(Of T) |
Visual C++ |
---|
public:
[ExtensionAttribute]
generic<typename T>
where T : Control
static IEnumerable<T>^ Select(
Control^ from,
Predicate<Control^>^ predicate
) |
F# |
---|
static member Select :
from : Control *
predicate : Predicate<Control> -> IEnumerable<'T> when 'T : Control
|
Type Parameters
Return Value
Type:
IEnumerable<(Of <(<'T>)>)>Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Control. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also