共用方式為


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 : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)>]
type WorkItemAttribute = class
    inherit Attribute
Public NotInheritable Class WorkItemAttribute
Inherits Attribute
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.

Applies to