Share via


TestResultMessage.Duration Property

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
'Usage
Dim instance As TestResultMessage 
Dim value As TimeSpan 

value = instance.Duration

instance.Duration = value
[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);
}
public function get Duration () : TimeSpan 
public function set Duration (value : TimeSpan)

Property Value

Type: System.TimeSpan

.NET Framework Security

See Also

Reference

TestResultMessage Class

TestResultMessage Members

Microsoft.VisualStudio.TestTools.Common Namespace