CreateTimeSpan Class

 

An activity to create a TimeSpan based on input fields.

Namespace:   Microsoft.Activities.Expressions
Assembly:  Microsoft.Activities (in Microsoft.Activities.dll)

Inheritance Hierarchy

System.Object
  System.Activities.Activity
    System.Activities.ActivityWithResult
      System.Activities.Activity<TResult>
        System.Activities.CodeActivity<TResult>
          Microsoft.Activities.Expressions.CreateTimeSpan

Syntax

public sealed class CreateTimeSpan : CodeActivity<TimeSpan>
public ref class CreateTimeSpan sealed : CodeActivity<TimeSpan>
[<Sealed>]
type CreateTimeSpan = 
    class
        inherit CodeActivity<TimeSpan>
    end
Public NotInheritable Class CreateTimeSpan
    Inherits CodeActivity(Of TimeSpan)

Constructors

Name Description
System_CAPS_pubmethod CreateTimeSpan()

Initializes a new instance of the CreateTimeSpan class.

System_CAPS_pubmethod CreateTimeSpan(InArgument<Double>, InArgument<Double>, InArgument<Double>, InArgument<Double>)

Initializes a new instance of the CreateTimeSpan class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty Days

Gets or sets the days value.

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

System_CAPS_pubproperty Hours

Gets or set hours value.

System_CAPS_pubproperty Id

(Inherited from Activity.)

System_CAPS_protproperty ImplementationVersion

(Inherited from CodeActivity<TResult>.)

System_CAPS_pubproperty Minutes

Gets or set minutes value.

System_CAPS_pubproperty Result

(Inherited from Activity<TResult>.)

System_CAPS_pubproperty ResultType

(Inherited from ActivityWithResult.)

System_CAPS_pubproperty Seconds

Gets or set seconds value.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Activity.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Activities.Expressions Namespace

Return to top