Share via


SubtractFromDate Class

 

An activity to subtract from a date.

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

Syntax

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

Constructors

Name Description
System_CAPS_pubmethod SubtractFromDate()

Initializes a new instance of the SubtractFromDate class.

System_CAPS_pubmethod SubtractFromDate(InArgument<DateTime>, InArgument<TimeSpan>)

Initializes a new instance of the SubtractFromDate class.

Properties

Name Description
System_CAPS_protproperty CacheId

(Inherited from Activity.)

System_CAPS_pubproperty Days

Gets or sets the number of days to subtract.

System_CAPS_pubproperty DisplayName

(Inherited from Activity.)

System_CAPS_pubproperty Hours

Gets or sets the number of hours to subtract.

System_CAPS_pubproperty Id

(Inherited from Activity.)

System_CAPS_protproperty ImplementationVersion

(Inherited from CodeActivity<TResult>.)

System_CAPS_pubproperty Input

Gets or sets the input date.

System_CAPS_pubproperty Minutes

Gets or sets the number of minutes to subtract.

System_CAPS_pubproperty Result

(Inherited from Activity<TResult>.)

System_CAPS_pubproperty ResultType

(Inherited from ActivityWithResult.)

System_CAPS_pubproperty Seconds

Gets or sets the number of days to subtract.

System_CAPS_pubproperty TimeSpan

Gets or sets the complete timespan to subtract.

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