WorkItemAttribute.Id Property
Gets the ID of the work item.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property Id As Integer
public int Id { get; }
public:
property int Id {
int get ();
}
member Id : int with get
function get Id () : int
Property Value
Type: Int32
The work item ID.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.