Edit

Share via


AndAlso Class

Definition

Computes the logical AND of two values. Both values are converted into Boolean, and if both are true then this expression returns true. If one or both values evaluate to false, this expression returns false. AndAlso is the "short circuit" version of the logical AND operator, returning false as soon as one of operands is evaluated to be false.

public ref class AndAlso sealed : System::Activities::Activity<bool>
public sealed class AndAlso : System.Activities.Activity<bool>
type AndAlso = class
    inherit Activity<bool>
Public NotInheritable Class AndAlso
Inherits Activity(Of Boolean)
Inheritance

Constructors

AndAlso()

Initializes a new instance of the AndAlso class.

Properties

CacheId

Gets the identifier of the cache that is unique within the scope of the workflow definition.

(Inherited from Activity)
Constraints

Gets a collection of Constraint activities that can be configured to provide validation for the Activity.

(Inherited from Activity)
DisplayName

Gets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking.

(Inherited from Activity)
Id

Gets an identifier that is unique in the scope of the workflow definition.

(Inherited from Activity)
Implementation

Gets or sets the delegate that returns an Activity that contains the execution logic.

(Inherited from Activity)
ImplementationVersion

Gets or sets the version of the implementation used.

(Inherited from Activity)
Left

Gets or sets the left operand.

Result

Gets or sets the result argument for the Activity<TResult>.

(Inherited from Activity<TResult>)
ResultType

When implemented in a derived class, gets the type of an activity OutArgument.

(Inherited from ActivityWithResult)
Right

Gets or sets the right operand.

Methods

CacheMetadata(ActivityMetadata)

Creates and validates a description of the activity's arguments, variables, child activities, and activity delegates.

(Inherited from Activity)
Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnCreateDynamicUpdateMap(UpdateMapMetadata, Activity)

Raises an event when creating dynamic update map.

(Inherited from Activity)
ShouldSerializeDisplayName()

Indicates whether the DisplayName property should be serialized.

(Inherited from Activity)
ToString()

Returns a String that contains the Id and DisplayName of the Activity.

(Inherited from Activity)

Applies to