ActivityContext.SetValue Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Assegna un valore all'argomento specificato.
Overload
| Nome | Descrizione |
|---|---|
| SetValue(Argument, Object) |
Assegna un valore all'oggetto specificato Argument. |
| SetValue<T>(InArgument<T>, T) |
Assegna un valore all'oggetto specificato InArgument<T>. |
| SetValue<T>(InOutArgument<T>, T) |
Assegna un valore all'oggetto specificato InOutArgument<T>. |
| SetValue<T>(LocationReference, T) |
Assegna un valore all'oggetto specificato LocationReference. |
| SetValue<T>(OutArgument<T>, T) |
Assegna un valore all'oggetto specificato OutArgument<T>. |
SetValue(Argument, Object)
Assegna un valore all'oggetto specificato Argument.
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)
Parametri
- argument
- Argument
Argomento da ricevere il nuovo valore.
- value
- Object
Nuovo valore dell'argomento.
Si applica a
SetValue<T>(InArgument<T>, T)
Assegna un valore all'oggetto specificato InArgument<T>.
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)
Parametri di tipo
- T
Tipo dell'argomento.
Parametri
- argument
- InArgument<T>
Argomento da ricevere il nuovo valore.
- value
- T
Nuovo valore dell'argomento.
Si applica a
SetValue<T>(InOutArgument<T>, T)
Assegna un valore all'oggetto specificato InOutArgument<T>.
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)
Parametri di tipo
- T
Tipo dell'argomento.
Parametri
- argument
- InOutArgument<T>
Argomento da ricevere il nuovo valore.
- value
- T
Nuovo valore dell'argomento.
Si applica a
SetValue<T>(LocationReference, T)
Assegna un valore all'oggetto specificato LocationReference.
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)
Parametri di tipo
- T
Tipo della posizione.
Parametri
- locationReference
- LocationReference
Posizione a cui si fa riferimento per ricevere il nuovo valore.
- value
- T
Nuovo valore della posizione a cui si fa riferimento.
Si applica a
SetValue<T>(OutArgument<T>, T)
Assegna un valore all'oggetto specificato OutArgument<T>.
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)
Parametri di tipo
- T
Tipo dell'argomento.
Parametri
- argument
- OutArgument<T>
Argomento da ricevere il nuovo valore.
- value
- T
Nuovo valore dell'argomento.