Freigeben über


WorkItem.Type Property

Gets a WorkItemType object that represents the type of this work item.

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

Syntax

'Declaration
Public ReadOnly Property Type As WorkItemType
    Get
public WorkItemType Type { get; }
public:
property WorkItemType^ Type {
    WorkItemType^ get ();
}
member Type : WorkItemType
function get Type () : WorkItemType

Property Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemType
A WorkItemType object that represents the type of this work item.

Exceptions

Exception Condition
WorkItemTypeDeniedOrNotExistException

The Type property is null.

.NET Framework Security

See Also

Reference

WorkItem Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace