共用方式為


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

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

Property Value

Type: System.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