Partager via


WorkItemCollection.DefaultProjectHint Property

Gets or sets the Id of the Project to support in partial opening.

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

Syntax

'Declaration
Public Property DefaultProjectHint As Integer
public int DefaultProjectHint { get; set; }
public:
property int DefaultProjectHint {
    int get ();
    void set (int value);
}
member DefaultProjectHint : int with get, set
function get DefaultProjectHint () : int 
function set DefaultProjectHint (value : int)

Property Value

Type: System.Int32
The Id of the Project to support in partial opening.

Remarks

If the DefaultProjectHint property is set, when WorkItem.PartialOpen() is called, only the Fields that are being used by the specified project are paged in. If the DefaultProjectHint property is not set, all Fields will be paged in.

.NET Framework Security

See Also

Reference

WorkItemCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace