This documentation is archived and is not being maintained.
InArgument<T> Class
Visual Studio 2010
A binding terminal that represents the flow of data into an activity.
System::Object
System.Activities::Argument
System.Activities::InArgument
System.Activities::InArgument<T>
System.Activities::Argument
System.Activities::InArgument
System.Activities::InArgument<T>
Assembly: System.Activities (in System.Activities.dll)
The InArgument<T> type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | InArgument<T>() | Initializes a new instance of the InArgument<T> class using default values. |
![]() | InArgument<T>(T) | Initializes a new instance of the InArgument<T> class using the specified value. |
![]() | InArgument<T>(Activity<T>) | Initializes a new instance of the InArgument<T> class using the specified Activity<TResult>. |
![]() | InArgument<T>(DelegateArgument) | Initializes a new instance of the InArgument<T> class using the specified DelegateArgument. |
![]() | InArgument<T>(Expression<Func<ActivityContext, T>>) | Initializes a new instance of the InArgument<T> class using the specified expression. |
![]() | InArgument<T>(Variable) | Initializes a new instance of the InArgument<T> class using the specified Variable. |
| Name | Description | |
|---|---|---|
![]() | ArgumentType | Gets the data type for the data bound to this Argument. (Inherited from Argument.) |
![]() | Direction | Gets an ArgumentDirection that specifies whether the Argument represents the flow of data into an activity, out of an activity, or both into and out of an activity. (Inherited from Argument.) |
![]() | EvaluationOrder | Gets or sets a zero-based value that specifies the order in which the argument is evaluated. (Inherited from Argument.) |
![]() | Expression | Gets an Activity<TResult> that represents the value of this InArgument<T>. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | FromDelegateArgument | Initializes and returns a new InArgument<T> using the specified DelegateArgument. |
![]() ![]() | FromExpression | Initializes and returns a new InArgument<T> using the specified Activity<TResult>. |
![]() ![]() | FromValue | Initializes and returns a new InArgument<T> using the specified value. |
![]() ![]() | FromVariable | Initializes and returns a new InArgument<T> using the specified Variable. |
![]() | Get | Gets the value of the InArgument<T> using the specified activity context. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetLocation | Gets the Location for this Argument. (Inherited from Argument.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Set(ActivityContext, Object) | Sets the value of the argument using the specified activity context. (Inherited from Argument.) |
![]() | Set(ActivityContext, T) | Sets the value of the InArgument<T> using the specified value. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Implicit(T to InArgument<T>) | Initializes and returns a new InArgument<T> using the specified value. |
![]() ![]() | Implicit(Activity<T> to InArgument<T>) | Initializes and returns a new InArgument<T> using the specified Activity<TResult>. |
![]() ![]() | Implicit(DelegateArgument to InArgument<T>) | Initializes and returns a new InArgument<T> using the specified DelegateArgument. |
![]() ![]() | Implicit(Variable to InArgument<T>) | Initializes and returns a new InArgument<T> using the specified Variable. |
In this example, a workflow is created that consists of a single WriteLine activity. The WriteLine activity has an InArgument<T> named Text. The host application creates an instance of the workflow and passes a string, which maps to the Text argument of the WriteLine and is used by the WriteLine activity.
Activity wf = new WriteLine(); Dictionary<string, object> wfParams = new Dictionary<string, object>(); wfParams.Add("Text", "Hello World!"); WorkflowInvoker.Invoke(wf, wfParams);
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
