NativeActivityUpdateContext.GetValue 方法

定義

取得指定物件的值。

多載

名稱 Description
GetValue(RuntimeArgument)

取得指定的 RuntimeArgument 值。

GetValue(Variable)

取得目前 NativeActivity 實例中指定變數的值。

GetValue(Argument)

取得指定的參數值。

GetValue<T>(Variable<T>)

回傳目前 NativeActivity 實例中指定的通用變數值。

GetValue(RuntimeArgument)

取得指定的 RuntimeArgument 值。

public:
 System::Object ^ GetValue(System::Activities::RuntimeArgument ^ runtimeArgument);
public object GetValue(System.Activities.RuntimeArgument runtimeArgument);
member this.GetValue : System.Activities.RuntimeArgument -> obj
Public Function GetValue (runtimeArgument As RuntimeArgument) As Object

參數

runtimeArgument
RuntimeArgument

需要檢視的論點。

傳回

指定 RuntimeArgument 的值。

適用於

GetValue(Variable)

取得目前 NativeActivity 實例中指定變數的值。

public:
 System::Object ^ GetValue(System::Activities::Variable ^ variable);
public object GetValue(System.Activities.Variable variable);
member this.GetValue : System.Activities.Variable -> obj
Public Function GetValue (variable As Variable) As Object

參數

variable
Variable

在執行當前 NativeActivity 實例時,正在取回其值的變數。

傳回

目前 NativeActivity 實例中指定變數的值。

適用於

GetValue(Argument)

取得指定的參數值。

public:
 System::Object ^ GetValue(System::Activities::Argument ^ argument);
public object GetValue(System.Activities.Argument argument);
member this.GetValue : System.Activities.Argument -> obj
Public Function GetValue (argument As Argument) As Object

參數

argument
Argument

需要檢視的論點。

傳回

指定參數的值。

適用於

GetValue<T>(Variable<T>)

回傳目前 NativeActivity 實例中指定的通用變數值。

public:
generic <typename T>
 T GetValue(System::Activities::Variable<T> ^ variable);
public T GetValue<T>(System.Activities.Variable<T> variable);
member this.GetValue : System.Activities.Variable<'T> -> 'T
Public Function GetValue(Of T) (variable As Variable(Of T)) As T

類型參數

T

被檢索值的變數類型。

參數

variable
Variable<T>

在執行當前 NativeActivity 實例時,正在取得其值的通用變數。

傳回

T

目前 NativeActivity 實例中指定的通用變數值。

適用於