NativeActivityContext.GetValue メソッド

定義

オーバーロード

名前 説明
GetValue(Variable)

現在の NativeActivity インスタンス内の指定した変数の値を返します。

GetValue<T>(Variable<T>)

現在の NativeActivity インスタンス内の指定したジェネリック変数の値を返します。

GetValue(Variable)

現在の NativeActivity インスタンス内の指定した変数の値を返します。

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

パラメーター

variable
Variable

現在の NativeActivity インスタンスの実行中に値が取得される変数。

返品

指定した変数の値。

適用対象

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);
override 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

指定した変数の値。

適用対象