Share via


AddToDate Class

 

Represents an activity to add to an input DateTime or TimeSpan.

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.AddToDate

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod AddToDate()

Initializes a new instance of the AddToDate 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 sets the hours value.

System_CAPS_pubproperty Id

(Inherited from Activity.)

System_CAPS_protproperty ImplementationVersion

(Inherited from CodeActivity<TResult>.)

System_CAPS_pubproperty Input

Gets or sets the input DateTime.

System_CAPS_pubproperty Milliseconds

Gets or sets the milliseconds value.

System_CAPS_pubproperty Minutes

Gets or sets the minutes value.

System_CAPS_pubproperty Months

Gets or sets the months value.

System_CAPS_pubproperty Result

(Inherited from Activity<TResult>.)

System_CAPS_pubproperty ResultType

(Inherited from ActivityWithResult.)

System_CAPS_pubproperty Seconds

Gets or sets the seconds value.

System_CAPS_pubproperty TimeSpan

Gets or sets the input TimeSpan.

System_CAPS_pubproperty Years

Gets or sets the years 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