DbConnectionStringBuilder.ICollection.SyncRoot Property

Definition

获取用于同步对 ICollection 的访问的对象。Gets an object that can be used to synchronize access to the ICollection.

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

Property Value

Object

用于同步对 ICollection 的访问的对象。An object that can be used to synchronize access to the ICollection.

Implements

Remarks

此成员是显式接口成员实现。This member is an explicit interface member implementation. 它只能在 DbConnectionStringBuilder 实例被强制转换为 ICollection 接口时使用。It can be used only when the DbConnectionStringBuilder instance is cast to an ICollection interface.

有关详细信息,请参阅 SyncRootFor more information, see SyncRoot.

Applies to

See also