 | PdfControlCollectionsFind Method |
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire System.Collections.Generic.List`1.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic PdfControl Find(
Predicate<PdfControl> match
)
Public Function Find (
match As Predicate(Of PdfControl)
) As PdfControl
public:
virtual PdfControl^ Find(
Predicate<PdfControl^>^ match
) sealed
abstract Find :
match : Predicate<PdfControl> -> PdfControl
override Find :
match : Predicate<PdfControl> -> PdfControl public final PdfControl Find(
Predicate<PdfControl> match
)
Parameters
- match PredicatePdfControl
- The System.Predicate`1 delegate that defines the conditions of the element to search for.
Return Value
PdfControlThe first element that matches the conditions defined by the specified predicate, if found; otherwise, null.
Implements
IReadOnlyListTFind(PredicateT)
Exceptions
See Also