Share via


WorkItem.Item Property (CoreField)

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

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

Syntax

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

Parameters

Property Value

Type: System.Object
The object that is contained by the specified field.

Exceptions

Exception Condition
ArgumentNullException

The id parameter is null.

.NET Framework Security

See Also

Reference

WorkItem Class

Item Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace