DrilldownFieldChoiceExtensionToSingleChoice Method

Converts an enumerable path to a single DrilldownFieldChoice with nested child choices.

Definition

Namespace: FileHold.LibraryManager.Extensions
Assembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.2.0.0
C#
public static DrilldownFieldChoice ToSingleChoice(
	this IEnumerable<DrilldownFieldChoice> path
)

Parameters

path  IEnumerableDrilldownFieldChoice
The enumerable path of DrilldownFieldChoice objects.

Return Value

DrilldownFieldChoice
A single DrilldownFieldChoice representing the root of the hierarchy.

Usage Note

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