DocumentStructuresExtensionsGetAllNamedElements Method (StoryFragment)Document Toolkit Help
Gets all named elements from given story fragment.

Namespace: FirstFloor.Documents.DocumentStructures
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public static IEnumerable<string> GetAllNamedElements(
	this StoryFragment storyFragment
)

Parameters

storyFragment
Type: FirstFloor.Documents.DocumentStructuresStoryFragment
The story fragment.

Return Value

Type: IEnumerableString
A list of element names found in given story fragment.

Usage Note

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

Reference