共用方式為


WorkItem.IsNew Property

Gets a flag that describes whether this work item is new.

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

Syntax

'宣告
Public ReadOnly Property IsNew As Boolean
    Get
public bool IsNew { get; }
public:
property bool IsNew {
    bool get ();
}
member IsNew : bool
function get IsNew () : boolean

Property Value

Type: System.Boolean
True if this work item is new; otherwise, false.

Remarks

A new work item has not yet been saved.

.NET Framework Security

See Also

Reference

WorkItem Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace