| ControlExtensionsFindT Method |
Find elements of the given type that match the given predicate
Namespace: SandcastleBuilder.WPFAssembly: SandcastleBuilder.WPF (in SandcastleBuilder.WPF.dll) Version: 2014.11.22.0
Syntax public static IEnumerable<T> Find<T>(
this FlowDocument document,
Predicate<T> predicate
)
<ExtensionAttribute>
Public Shared Function Find(Of T) (
document As FlowDocument,
predicate As Predicate(Of T)
) As IEnumerable(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static IEnumerable<T>^ Find(
FlowDocument^ document,
Predicate<T>^ predicate
)
[<ExtensionAttribute>]
static member Find :
document : FlowDocument *
predicate : Predicate<'T> -> IEnumerable<'T>
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:
IEnumerableTA 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