DrilldownFieldChoiceExtensionToFlatChoice Method

Merges an enumerable path to a single DrilldownFieldChoice without nested child choices.

Definition

Namespace: FileHold.LibraryManager.Extensions
Assembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.2.0.0
C#
public static DrilldownFieldChoice ToFlatChoice(
	this IEnumerable<DrilldownFieldChoice> choices,
	string separator = null
)

Parameters

choices  IEnumerableDrilldownFieldChoice
The path of choices to merge.
separator  String  (Optional)
Optional separator to use when merging the values of the choices.

Return Value

DrilldownFieldChoice
A single DrilldownFieldChoice representing the merged path.

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