DbConnectionStringBuilder.ICollection.IsSynchronized Property


获取一个值,该值指示是否同步对 ICollection 的访问(确保线程安全)。Gets a value indicating whether access to the ICollection is synchronized (thread safe).

property bool System::Collections::ICollection::IsSynchronized { bool get(); };
bool System.Collections.ICollection.IsSynchronized { get; }
member this.System.Collections.ICollection.IsSynchronized : bool
 ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized

Property Value


如果对 true 的访问是同步的(线程安全),则为 ICollection;否则为 falsetrue if access to the ICollection is synchronized (thread safe); otherwise, false.



此成员是显式接口成员实现。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.

有关详细信息,请参阅 IsSynchronizedFor more information, see IsSynchronized.

Applies to

See also