WorkItemCollection.DefaultProjectHint Property
Gets or sets the default project hint for the collection to support partial open, by setting properties on the object that allow for all "relevant" fields to be paged in.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Property DefaultProjectHint As Integer
'Usage
Dim instance As WorkItemCollection
Dim value As Integer
value = instance.DefaultProjectHint
instance.DefaultProjectHint = value
public int DefaultProjectHint { get; set; }
public:
property int DefaultProjectHint {
int get ();
void set (int value);
}
public function get DefaultProjectHint () : int
public function set DefaultProjectHint (value : int)
Property Value
Type: System.Int32
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the value is less than zero. |
.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.