共用方式為


FilteredObservableCollection<T>.SyncRoot Property

Definition

Gets the object used to synchronize the collection.

public:
 property System::Object ^ SyncRoot { System::Object ^ get(); };
public:
 property Platform::Object ^ SyncRoot { Platform::Object ^ get(); };
public object SyncRoot { get; }
member this.SyncRoot : obj
Public ReadOnly Property SyncRoot As Object

Property Value

The object used to synchronize the collection

Implements

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.

Applies to