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!

ICollection.IsSynchronized

When implemented by a class, retrieves a value indicating whether access to the ICollection is synchronized (i.e.: thread-safe).

[Visual Basic]
ReadOnly Property IsSynchronized As Boolean
[C#]
bool IsSynchronized {get;}
[C++]
bool get_IsSynchronized() = 0;
[JScript]
abstract function get IsSynchronized() : Boolean;

Property Value

true if access to the ICollection is synchronized (i.e.: thread-safe); otherwise, false.

Remarks

SyncRoot returns an object, which can be used to synchronize access to the ICollection.

Collection classes in System.Collections also implement a GetSynchronized method, which provides a synchronized wrapper around the underlying collection.

See Also

ICollection Interface | ICollection Members | System.Collections Namespace | SyncRoot