WorkItemAttribute WorkItemAttribute WorkItemAttribute Class

Definition

WorkItem attribute; used to specify a work item associated with this test.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)]
public sealed class WorkItemAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.TestPropertyAttribute
type WorkItemAttribute = class
    inherit TestPropertyAttribute
Public NotInheritable Class WorkItemAttribute
Inherits TestPropertyAttribute
Inheritance
Attributes

Constructors

WorkItemAttribute(Int32) WorkItemAttribute(Int32) WorkItemAttribute(Int32)

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

Properties

Id Id Id

Gets the Id to a workitem associated.

Name Name Name

Gets the name.

(Inherited from TestPropertyAttribute)
Value Value Value

Gets the value.

(Inherited from TestPropertyAttribute)

Applies to