ListSortDescriptionCollection.ICollection.SyncRoot Property


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.



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