Sdílet prostřednictvím


TestResultMessage.Duration – vlastnost

Získá nebo nastaví dobu, po kterou strávilo provádět související test nebo test.

Obor názvů:  Microsoft.VisualStudio.TestTools.Common
Sestavení:  Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Deklarace
<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)

Hodnota vlastnosti

Typ: TimeSpan
Čas, který strávilo provést test nebo test.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

TestResultMessage Třída

Microsoft.VisualStudio.TestTools.Common – obor názvů

TimeSpan