AddToDate 類別
代表用來新增至輸入 DateTime 或 TimeSpan 的活動。
命名空間: Microsoft.Activities.Expressions
組件: Microsoft.Activities (在 Microsoft.Activities.dll 中)
繼承階層架構
System.Object
System.Activities.Activity
System.Activities.ActivityWithResult
System.Activities.Activity<TResult>
System.Activities.CodeActivity<TResult>
Microsoft.Activities.Expressions.AddToDate
語法
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)
建構函式
名稱 | 描述 | |
---|---|---|
AddToDate() | 初始化 AddToDate 類別的新執行個體。 |
屬性
名稱 | 描述 | |
---|---|---|
CacheId | (繼承自 Activity。) |
|
Days | 取得或設定天數值。 |
|
DisplayName | (繼承自 Activity。) |
|
Hours | 取得或設定時數值。 |
|
Id | (繼承自 Activity。) |
|
ImplementationVersion | (繼承自 CodeActivity<TResult>。) |
|
Input | 取得或設定輸入 DateTime。 |
|
Milliseconds | 取得或設定毫秒值。 |
|
Minutes | 取得或設定分鐘值。 |
|
Months | 取得或設定月份值。 |
|
Result | (繼承自 Activity<TResult>。) |
|
ResultType | (繼承自 ActivityWithResult。) |
|
Seconds | 取得或設定秒數值。 |
|
TimeSpan | 取得或設定輸入 TimeSpan。 |
|
Years | 取得或設定年份值。 |
方法
名稱 | 描述 | |
---|---|---|
Equals(Object) | (繼承自 Object。) |
|
GetHashCode() | (繼承自 Object。) |
|
GetType() | (繼承自 Object。) |
|
ToString() | (繼承自 Activity。) |
執行緒安全
這個類型的任何公用靜態 (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。
請參閱
Microsoft.Activities.Expressions 命名空間
回到頁首