Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the time that was spent to execute the associated test or test run.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
<UserVisiblePropertyAttribute("{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")> _
Public Property Duration As TimeSpan
[UserVisiblePropertyAttribute("{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")]
public TimeSpan Duration { get; set; }
[UserVisiblePropertyAttribute(L"{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")]
public:
property TimeSpan Duration {
TimeSpan get ();
void set (TimeSpan value);
}
[<UserVisiblePropertyAttribute("{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")>]
member Duration : TimeSpan with get, set
function get Duration () : TimeSpan
function set Duration (value : TimeSpan)
Property Value
Type: System.TimeSpan
The time that was spent to execute the test or test run.
.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.