ProjectHostItemCollection.SyncRoot Property

An implementation of ICollection.SyncRoot that returns nulla null reference (Nothing in Visual Basic).

Namespace:  Microsoft.VisualStudio.Tools.Applications.DesignTime
Assembly:  Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Property SyncRoot As Object
'Usage
Dim instance As ProjectHostItemCollection 
Dim value As Object 

value = instance.SyncRoot
public Object SyncRoot { get; }
public:
virtual property Object^ SyncRoot {
    Object^ get () sealed;
}
public final function get SyncRoot () : Object

Property Value

Type: System.Object

Implements

ICollection.SyncRoot

Remarks

The current implementation returns nulla null reference (Nothing in Visual Basic) because multi-threaded access to the collection of host items is not supported.

.NET Framework Security

See Also

Reference

ProjectHostItemCollection Class

ProjectHostItemCollection Members

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace