次の方法で共有


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣言
Private ReadOnly Property SyncRoot As Object
    Implements ICollection.SyncRoot
Object ICollection.SyncRoot { get; }

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

Microsoft.VisualStudio.Shell Namespace