Partilhar via


ReadOnlyList.SyncRoot Property

Note: This API is now obsolete.

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
[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 ();
}
[<ObsoleteAttribute("Direct using of o.SyncRoot is obsolete, use ((ICollection)o).SyncRoot")>]
member SyncRoot : Object with get
function get SyncRoot () : Object

Property Value

Type: System.Object
Returns Object.

.NET Framework Security

See Also

Reference

ReadOnlyList Class

Microsoft.TeamFoundation.WorkItemTracking.Common Namespace