共用方式為


ISession.Duration Property

Duration of the test session.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Property Duration As TimeSpan
TimeSpan Duration { get; set; }
property TimeSpan Duration {
    TimeSpan get ();
    void set (TimeSpan value);
}
abstract Duration : TimeSpan with get, set
function get Duration () : TimeSpan 
function set Duration (value : TimeSpan)

Property Value

Type: TimeSpan
Returns TimeSpan.

.NET Framework Security

See Also

Reference

ISession Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace