NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SortedList.Synchronized

Returns a synchronized (thread-safe) wrapper for the SortedList.

[Visual Basic]
Public Shared Function Synchronized( _
   ByVal list As SortedList _
) As SortedList
[C#]
public static SortedList Synchronized(
   SortedList list
);
[C++]
public: static SortedList* Synchronized(
   SortedList* list
);
[JScript]
public static function Synchronized(
   list : SortedList
) : SortedList;

Parameters

list
The SortedList to synchronize.

Return Value

A synchronized (thread-safe) wrapper for the SortedList.

Exceptions

Exception Type Condition
ArgumentNullException list is a null reference (in Visual Basic Nothing).

Remarks

To guarantee the thread-safety of the SortedList, all operations must be done through this wrapper only.

See Also

SortedList Class | SortedList Members | System.Collections Namespace | IsSynchronized | SyncRoot