Constructors: NewSortedList

NewSortedList

Creates a new SortedList object with specific initialization options.



 Public Function NewSortedList(
	  Optional ByVal list As IDictionary,
	  Optional ByVal Comparer As IComparer,
	  Optional ByVal Capacity As Long = 16 ) As SortedList

Parameters

list
[ByVal] Optional. IDictionary. An object implementing IDictionary used to initialize the list from.
Comparer
[ByVal] Optional. IComparer. An object implementing IComparer used to search and sort keys in the list.
Capacity
[ByVal] Optional. Long. An initial list size.  

Default: 16

Return Values

SortedList -  A new SortedList object with the specific initializations.

Remarks

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewSingles NewStack