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
声明
Public Default Property Item ( _
    id As CoreField _
) As Object
    Get
    Set
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 : Object with get, set
JScript does not support indexed properties.
Parameters
- id
 Type: Microsoft.TeamFoundation.WorkItemTracking.Client.CoreField
 The field ID.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.