Click or drag to resize
Sandcastle Help File BuilderControlExtensionsFindT Method
Find elements of the given type that match the given predicate

Namespace: SandcastleBuilder.WPF
Assembly: SandcastleBuilder.WPF (in SandcastleBuilder.WPF.dll) Version: 2014.11.22.0
Syntax
public static IEnumerable<T> Find<T>(
	this FlowDocument document,
	Predicate<T> predicate
)

Parameters

document
Type: System.Windows.DocumentsFlowDocument
The document to search
predicate
Type: SystemPredicateT
The predicate to match

Type Parameters

T
The object type to find

Return Value

Type: IEnumerableT
A list of all document elements of the given type that match the predicate

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FlowDocument. 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