Click or drag to resize

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.Net
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntax
public 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

PdfControl
The first element that matches the conditions defined by the specified predicate, if found; otherwise, null.

Implements

IReadOnlyListTFind(PredicateT)
Exceptions
ExceptionCondition
ArgumentNullExceptionmatch is null.
See Also