NativeActivityContext.SetValue 메서드

정의

오버로드

Name Description
SetValue(Variable, Object)

지정된 값 개체를 지정된 변수 개체에 할당합니다.

SetValue<T>(Variable<T>, T)

지정된 제네릭 변수 개체에 지정된 제네릭 값 개체를 할당합니다.

SetValue(Variable, Object)

지정된 값 개체를 지정된 변수 개체에 할당합니다.

public:
 void SetValue(System::Activities::Variable ^ variable, System::Object ^ value);
public void SetValue(System.Activities.Variable variable, object value);
override this.SetValue : System.Activities.Variable * obj -> unit
Public Sub SetValue (variable As Variable, value As Object)

매개 변수

variable
Variable

값 개체를 할당할 수 있는 지정된 형식이 없는 변수 개체입니다.

value
Object

변수 개체에 할당할 수 있는 지정된 형식이 없는 개체입니다.

적용 대상

SetValue<T>(Variable<T>, T)

지정된 제네릭 변수 개체에 지정된 제네릭 값 개체를 할당합니다.

public:
generic <typename T>
 void SetValue(System::Activities::Variable<T> ^ variable, T value);
public void SetValue<T>(System.Activities.Variable<T> variable, T value);
override this.SetValue : System.Activities.Variable<'T> * 'T -> unit
Public Sub SetValue(Of T) (variable As Variable(Of T), value As T)

형식 매개 변수

T

andvaluevariable 형식입니다.

매개 변수

variable
Variable<T>

값 개체를 할당할 수 있는 지정된 형식의 변수 개체입니다.

value
T

변수 개체에 할당할 수 있는 지정된 형식의 개체입니다.

적용 대상