Export (0) Print
Expand All

Subtract<TLeft, TRight, TResult> Class

Computes the difference between two values.

          System.Activities.Expressions.Subtract<TLeft, TRight, TResult>

Namespace:  System.Activities.Expressions
Assembly:  System.Activities (in System.Activities.dll)

public sealed class Subtract<TLeft, TRight, TResult> : CodeActivity<TResult>

Type Parameters


The type of the left operand.


The type of the right operand.


The type of the result.

The Subtract<TLeft, TRight, TResult> type exposes the following members.

Public methodSubtract<TLeft, TRight, TResult>Initializes a new instance of the Subtract<TLeft, TRight, TResult> class.

Protected propertyCacheIdGets the identifier of the cache that is unique within the scope of the workflow definition. (Inherited from Activity.)
Public propertyCheckedGets or sets a value that indicates whether the subtraction executes in a checked context.
Public propertyDisplayNameGets or sets an optional friendly name that is used for debugging, validation, exception handling, and tracking. (Inherited from Activity.)
Public propertyIdGets an identifier that is unique in the scope of the workflow definition. (Inherited from Activity.)
Protected propertyImplementationVersionGets or sets the implementation version of the activity. (Inherited from CodeActivity<TResult>.)
Public propertyLeftGets or sets the left operand.
Public propertyResultGets or sets the result argument for the Activity<TResult>. (Inherited from Activity<TResult>.)
Public propertyResultTypeWhen implemented in a derived class, gets the type of an activity OutArgument. (Inherited from ActivityWithResult.)
Public propertyRightGets or sets the right operand.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodShouldSerializeDisplayNameIndicates whether the DisplayName property should be serialized. (Inherited from Activity.)
Public methodToStringReturns a String that contains the Id and DisplayName of the Activity. (Inherited from Activity.)

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft