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 | |
---|---|---|
SubtractFromDate() | Initializes a new instance of the SubtractFromDate class. |
|
SubtractFromDate(InArgument<DateTime>, InArgument<TimeSpan>) | Initializes a new instance of the SubtractFromDate class. |
Properties
Name | Description | |
---|---|---|
CacheId | (Inherited from Activity.) |
|
Days | Gets or sets the number of days to subtract. |
|
DisplayName | (Inherited from Activity.) |
|
Hours | Gets or sets the number of hours to subtract. |
|
Id | (Inherited from Activity.) |
|
ImplementationVersion | (Inherited from CodeActivity<TResult>.) |
|
Input | Gets or sets the input date. |
|
Minutes | Gets or sets the number of minutes to subtract. |
|
Result | (Inherited from Activity<TResult>.) |
|
ResultType | (Inherited from ActivityWithResult.) |
|
Seconds | Gets or sets the number of days to subtract. |
|
TimeSpan | Gets or sets the complete timespan to subtract. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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