TaskProvider.TaskCollection.ICollection.SyncRoot Property
Gets the object that can be used to synchronize access to the collection.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Private ReadOnly Property SyncRoot As Object
Implements ICollection.SyncRoot
Object ICollection.SyncRoot { get; }
private:
virtual property Object^ SyncRoot {
Object^ get () sealed = ICollection::SyncRoot::get;
}
private abstract SyncRoot : Object with get
private override SyncRoot : Object with get
JScript does not support explicit interface implementations.
Property Value
Type: Object
By default returns the current instance of this collection.
Implements
ICollection.SyncRoot
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.