Compartir a través de


FilteredObservableCollection<T>.SyncRoot Property

Gets the object used to synchronize the collection.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
public Object SyncRoot { get; }
public:
virtual property Object^ SyncRoot {
    Object^ get () sealed;
}
abstract SyncRoot : Object with get 
override SyncRoot : Object with get
final function get SyncRoot () : Object

Property Value

Type: Object
The object used to synchronize the collection

Implements

ICollection.SyncRoot

Remarks

If the collection has a filter, this property returns the object of the filtered list, otherwise it returns the object of the underlying list.

.NET Framework Security

See Also

Reference

FilteredObservableCollection<T> Class

Microsoft.VisualStudio.Language.Intellisense Namespace