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
'宣告
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
- 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.