NullLiteral<T> 類別
用來指定 Null 值的活動。
命名空間: 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.NullLiteral<T>
語法
public sealed class NullLiteral<T> : CodeActivity<T>
where T : class
generic<typename T>
where T : ref class
public ref class NullLiteral sealed : CodeActivity<T>
[<Sealed>]
type NullLiteral<'T when 'T : not struct> =
class
inherit CodeActivity<'T>
end
Public NotInheritable Class NullLiteral(Of T As Class)
Inherits CodeActivity(Of T)
類型參數
- T
傳回值的類型。
建構函式
名稱 | 描述 | |
---|---|---|
![]() |
NullLiteral<T>() | 初始化 NullLiteral<T> 類別的新執行個體。 |
屬性
名稱 | 描述 | |
---|---|---|
![]() |
CacheId | (繼承自 Activity。) |
![]() |
DisplayName | (繼承自 Activity。) |
![]() |
Id | (繼承自 Activity。) |
![]() |
ImplementationVersion | (繼承自 CodeActivity<TResult>。) |
![]() |
Result | (繼承自 Activity<TResult>。) |
![]() |
ResultType | (繼承自 ActivityWithResult。) |
方法
名稱 | 描述 | |
---|---|---|
![]() |
Equals(Object) | (繼承自 Object。) |
![]() |
GetHashCode() | (繼承自 Object。) |
![]() |
GetType() | (繼承自 Object。) |
![]() |
ToString() | (繼承自 Activity。) |
執行緒安全
這個類型的任何公用靜態 (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。
請參閱
Microsoft.Activities.Expressions 命名空間
回到頁首