Otter SDK Reference
Version:

ToSortedSet<TSource>(System.Collections.Generic.IEnumerable<TSource> source) Method

Creates a sorted set from the specified source.

Syntax

public static SortedSet<TSource> ToSortedSet<TSource>(IEnumerable<TSource> source)

Parameters

source
Type: System.Collections.Generic.IEnumerable<TSource>

The source enumeration.

Returns

Set created from the source elements.

Exceptions

System.ArgumentNullException

source is null (Nothing in Visual Basic).