Editare

Partajați prin


RuntimeArgument Class

Definition

Describes the characteristics of an argument of an activity to the runtime.

public ref class RuntimeArgument sealed : System::Activities::LocationReference
public sealed class RuntimeArgument : System.Activities.LocationReference
type RuntimeArgument = class
    inherit LocationReference
Public NotInheritable Class RuntimeArgument
Inherits LocationReference
Inheritance
RuntimeArgument

Constructors

RuntimeArgument(String, Type, ArgumentDirection)

Initializes a new instance of the RuntimeArgument class using a name, data type, and argument direction.

RuntimeArgument(String, Type, ArgumentDirection, Boolean)

Initializes a new instance of the RuntimeArgument class using a name, data type, argument direction, and a value that indicates whether the RuntimeArgument is required to be bound to a value.

RuntimeArgument(String, Type, ArgumentDirection, Boolean, List<String>)

Initializes a new instance of the RuntimeArgument class with a name, data type, argument direction, whether the RuntimeArgument is required to be bound to a value, and a list of overload group names.

RuntimeArgument(String, Type, ArgumentDirection, List<String>)

Initializes a new instance of the RuntimeArgument class using a name, data type, argument direction, and a list of overload group names.

Properties

Direction

Gets the direction of the data flow through this RuntimeArgument.

IsRequired

Gets a value that indicates whether the RuntimeArgument is required to be bound to a value.

Name

Gets or sets the name of the LocationReference.

(Inherited from LocationReference)
NameCore

When implemented by a derived class, gets or sets the culturally localized version of the name of the LocationReference.

(Inherited from LocationReference)
OverloadGroupNames

Gets a list of the overload groups that this RuntimeArgument belongs to.

Type

Gets or sets the type of the LocationReference.

(Inherited from LocationReference)
TypeCore

When implemented in a derived class, gets or sets the culturally localized version of the type of the LocationReference.

(Inherited from LocationReference)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Get(ActivityContext)

Gets the value of the RuntimeArgument using the specified activity context.

Get<T>(ActivityContext)

Gets the strongly-typed value of the RuntimeArgument using the specified activity context.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLocation(ActivityContext)

Returns the Location for this RuntimeArgument.

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 RuntimeArgument.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to