編輯

共用方式為


EventLogEntryCollection.ICollection.SyncRoot Property

Definition

Gets an object that can be used to synchronize access to the EventLogEntryCollection object.

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

An object that can be used to synchronize access to the collection.

Implements

Remarks

For the EventLogEntryCollection class, the ICollection.SyncRoot property always returns the current EventLogEntryCollection.

Applies to