Compartir a través de


WorkItemAttribute Class

Definition

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

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

Constructors

WorkItemAttribute(Int32)

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

Properties

Id

Gets the Id to a work item associated.

Name

Gets the name.

(Inherited from TestPropertyAttribute)
Value

Gets the value.

(Inherited from TestPropertyAttribute)

Applies to