Share via


Delay.Duration Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The duration of the timer that the Delay activity creates.

Namespace:  System.Activities.Core
Assembly:  System.Activities.Core (in System.Activities.Core.dll)

Syntax

'Declaration
Public Property Duration As InArgument(Of TimeSpan)
    Get
    Set
'Usage
Dim instance As Delay
Dim value As InArgument(Of TimeSpan)

value = instance.Duration

instance.Duration = value
public InArgument<TimeSpan> Duration { get; set; }
public:
property InArgument<TimeSpan>^ Duration {
    InArgument<TimeSpan>^ get ();
    void set (InArgument<TimeSpan>^ value);
}
function get Duration () : InArgument<TimeSpan>
function set Duration (value : InArgument<TimeSpan>)
member Duration : InArgument<TimeSpan> with get, set

Property Value

Type: System.Activities.InArgument<TimeSpan>
The timer duration.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

Delay Class

Delay Members

System.Activities.Core Namespace