다음을 통해 공유


TaskProvider.TaskCollection.ICollection.SyncRoot Property

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

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Private ReadOnly Property SyncRoot As Object
    Implements ICollection.SyncRoot
    Get
‘사용 방법
Dim instance As TaskProvider..::..TaskCollection
Dim value As Object

value = CType(instance, ICollection).SyncRoot
Object ICollection.SyncRoot { get; }
private:
virtual property Object^ SyncRoot {
    Object^ get () sealed = ICollection::SyncRoot::get;
}
private abstract SyncRoot : Object
private override SyncRoot : Object
JScript does not support explicit interface implementations.

Property Value

Type: System.Object
By default returns the current instance of this collection.

Implements

ICollection.SyncRoot

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

TaskProvider.TaskCollection Members

Microsoft.VisualStudio.Shell Namespace