ListSortDescriptionCollection.ICollection.SyncRoot Property

Definition

Gets the current instance that can be used to synchronize access to the collection.

property System::Object ^ System::Collections::ICollection::SyncRoot { System::Object ^ get(); };
object System.Collections.ICollection.SyncRoot { get; }
 ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot

Property Value

The current instance of the ListSortDescriptionCollection.

Implements

Remarks

This implementation returns the current instance of the ListSortDescriptionCollection, because this collection, once constructed, does not allow public access to the underlying list.

For more information on the ICollection.SyncRoot method, see the ICollection.SyncRoot property.

Applies to