共用方式為


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
    傳回值的類型。

建構函式

名稱 描述
System_CAPS_pubmethod NullLiteral<T>()

初始化 NullLiteral<T> 類別的新執行個體。

屬性

名稱 描述
System_CAPS_protproperty CacheId

(繼承自 Activity。)

System_CAPS_pubproperty DisplayName

(繼承自 Activity。)

System_CAPS_pubproperty Id

(繼承自 Activity。)

System_CAPS_protproperty ImplementationVersion

(繼承自 CodeActivity<TResult>。)

System_CAPS_pubproperty Result

(繼承自 Activity<TResult>。)

System_CAPS_pubproperty ResultType

(繼承自 ActivityWithResult。)

方法

名稱 描述
System_CAPS_pubmethod Equals(Object)

(繼承自 Object。)

System_CAPS_pubmethod GetHashCode()

(繼承自 Object。)

System_CAPS_pubmethod GetType()

(繼承自 Object。)

System_CAPS_pubmethod ToString()

(繼承自 Activity。)

執行緒安全

這個類型的任何公用靜態 (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

Microsoft.Activities.Expressions 命名空間

回到頁首