Partager via


WorkItem.Item Property (String)

Gets or sets the value of a field in this work item that is specified by the field name.

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

Syntax

'Declaration
Public Property Item ( _
    name As String _
) As Object
public Object this[
    string name
] { get; set; }
public:
property Object^ Item[String^ name] {
    Object^ get (String^ name);
    void set (String^ name, Object^ value);
}
member Item : 
        name:string -> Object with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: System.Object
The object that is contained in this field.

.NET Framework Security

See Also

Reference

WorkItem Class

Item Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace