Share via


ReadOnlyList.SyncRoot Property

This API supports the Team Foundation Server infrastructure and is not intended to be used directly from your code.

NOTE: This API is now obsolete. The non-obsolete alternative is .

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Common
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
<ObsoleteAttribute("Direct using of o.SyncRoot is obsolete, use ((ICollection)o).SyncRoot")> _
Public ReadOnly Property SyncRoot As Object
'Usage
Dim instance As ReadOnlyList 
Dim value As Object 

value = instance.SyncRoot
[ObsoleteAttribute("Direct using of o.SyncRoot is obsolete, use ((ICollection)o).SyncRoot")]
public Object SyncRoot { get; }
[ObsoleteAttribute(L"Direct using of o.SyncRoot is obsolete, use ((ICollection)o).SyncRoot")]
public:
property Object^ SyncRoot {
    Object^ get ();
}
public function get SyncRoot () : Object

Property Value

Type: System.Object

.NET Framework Security

See Also

Reference

ReadOnlyList Class

ReadOnlyList Members

Microsoft.TeamFoundation.WorkItemTracking.Common Namespace