Click or drag to resize
Sandcastle Help File BuilderControlExtensionsFindByName Method
This is used to find all elements in a flow document with the given name

Namespace: SandcastleBuilder.WPF
Assembly: SandcastleBuilder.WPF (in SandcastleBuilder.WPF.dll) Version: 2014.11.22.0
Syntax
public static IEnumerable<TextElement> FindByName(
	this FlowDocument document,
	string name
)

Parameters

document
Type: System.Windows.DocumentsFlowDocument
The flow document to search
name
Type: SystemString
The element name to find

Return Value

Type: IEnumerableTextElement
An enumerable list of elements with the given name

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