ActivityContext.SetValue Método

Definición

Asigna un valor al argumento especificado.

Sobrecargas

SetValue(Argument, Object)

Asigna un valor a la clase Argument especificada.

SetValue<T>(InArgument<T>, T)

Asigna un valor a la clase InArgument<T> especificada.

SetValue<T>(InOutArgument<T>, T)

Asigna un valor a la clase InOutArgument<T> especificada.

SetValue<T>(LocationReference, T)

Asigna un valor a la clase LocationReference especificada.

SetValue<T>(OutArgument<T>, T)

Asigna un valor a la clase OutArgument<T> especificada.

SetValue(Argument, Object)

Asigna un valor a la clase Argument especificada.

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

Parámetros

argument
Argument

El argumento que va a recibir el nuevo valor.

value
Object

El nuevo valor del argumento.

Se aplica a

SetValue<T>(InArgument<T>, T)

Asigna un valor a la clase InArgument<T> especificada.

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

Parámetros de tipo

T

Tipo del argumento.

Parámetros

argument
InArgument<T>

El argumento que va a recibir el nuevo valor.

value
T

El nuevo valor del argumento.

Se aplica a

SetValue<T>(InOutArgument<T>, T)

Asigna un valor a la clase InOutArgument<T> especificada.

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

Parámetros de tipo

T

Tipo del argumento.

Parámetros

argument
InOutArgument<T>

El argumento que va a recibir el nuevo valor.

value
T

El nuevo valor del argumento.

Se aplica a

SetValue<T>(LocationReference, T)

Asigna un valor a la clase LocationReference especificada.

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

Parámetros de tipo

T

Tipo de la ubicación.

Parámetros

locationReference
LocationReference

La ubicación a la que se hace referencia que va a recibir el nuevo valor.

value
T

El nuevo valor de la ubicación a la que se hace referencia.

Se aplica a

SetValue<T>(OutArgument<T>, T)

Asigna un valor a la clase OutArgument<T> especificada.

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

Parámetros de tipo

T

Tipo del argumento.

Parámetros

argument
OutArgument<T>

El argumento que va a recibir el nuevo valor.

value
T

El nuevo valor del argumento.

Se aplica a