GridViewRowCollection.SyncRoot Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the object used to synchronize access to the collection.
public:
property System::Object ^ SyncRoot { System::Object ^ get(); };
public object SyncRoot { get; }
member this.SyncRoot : obj
Public ReadOnly Property SyncRoot As Object
Property Value
An Object that can be used to synchronize access to the collection.
Implements
Remarks
Use the SyncRoot property to get an object that can be used to synchronize access to the collection. The object returned in this implementation is the GridViewRowCollection object itself.
For more information on the SyncRoot property, see the ICollection.SyncRoot property of the System.Collections.ICollection interface.
Applies to
See also
.NET