Partager via


WorkItemAttribute Constructor

Initializes a new instance of the WorkItemAttribute class with an identification number.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    id As Integer _
)
public WorkItemAttribute(
    int id
)
public:
WorkItemAttribute(
    int id
)
new : 
        id:int -> WorkItemAttribute
public function WorkItemAttribute(
    id : int
)

Parameters

  • id
    Type: Int32

    The ID of the work item.

.NET Framework Security

See Also

Reference

WorkItemAttribute Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace