ListBox.SelectedObjectCollection.ICollection.SyncRoot 屬性

定義

如需這個成員的說明,請參閱 SyncRootFor a description of this member, see SyncRoot.

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

屬性值

可用來同步存取基礎清單的物件。An object that can be used to synchronize access to the underlying list.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 ListBox.SelectedObjectCollection 執行個體轉換成 ICollection 介面時,才能使用這個成員。It can be used only when the ListBox.SelectedObjectCollection instance is cast to an ICollection interface.

適用於