WorkItemAttribute Class  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)]
public 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 AttributePublic NotInheritable Class WorkItemAttribute
Inherits TestPropertyAttributePublic NotInheritable Class WorkItemAttribute
Inherits AttributePublic Class WorkItemAttribute
Inherits Attribute- Inheritance
- Inheritance
- 
				WorkItemAttribute
- Derived
- 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) |