共用方式為


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

'宣告
<ObsoleteAttribute("Direct using of o.SyncRoot is obsolete, use ((ICollection)o).SyncRoot")> _
Public ReadOnly Property SyncRoot As Object
    Get
[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
function get SyncRoot () : Object

Property Value

Type: System.Object

.NET Framework Security

See Also

Reference

ReadOnlyList Class

Microsoft.TeamFoundation.WorkItemTracking.Common Namespace