共用方式為


WorkItemAttribute(Int32) Constructor

Definition

Initializes a new instance of the WorkItemAttribute class for the WorkItem Attribute.

public:
 WorkItemAttribute(int id);
public WorkItemAttribute (int id);
new Microsoft.VisualStudio.TestTools.UnitTesting.WorkItemAttribute : int -> Microsoft.VisualStudio.TestTools.UnitTesting.WorkItemAttribute
Public Sub New (id As Integer)

Parameters

id
Int32

The Id to a work item.

Applies to