Returns a synchronized (thread-safe) wrapper for the SortedList.
Namespace: Spire.Doc.CollectionsAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public static TypedSortedListEx<TKey, TValue> Synchronized( TypedSortedListEx<TKey, TValue> list )
Public Shared Function Synchronized ( list As TypedSortedListEx(Of TKey, TValue) ) As TypedSortedListEx(Of TKey, TValue)
public: static TypedSortedListEx<TKey, TValue>^ Synchronized( TypedSortedListEx<TKey, TValue>^ list )
static member Synchronized : list : TypedSortedListEx<'TKey, 'TValue> -> TypedSortedListEx<'TKey, 'TValue>
Parameters
- list
- TypedSortedListEx<(Of <(<'TKey, TValue>)>)>
The SortedList to synchronize.
Return Value
TypedSortedListEx<(Of <(<'TKey, TValue>)>)>A synchronized (thread-safe) wrapper for the SortedList.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | When list is null. |