Muokkaa

Jaa


ConditionedActivityGroup.SetWhenCondition(Object, Object) Method

Definition

Sets the condition associated with the WhenConditionProperty for the specified dependency object.

public:
 static void SetWhenCondition(System::Object ^ dependencyObject, System::Object ^ value);
public static void SetWhenCondition (object dependencyObject, object value);
static member SetWhenCondition : obj * obj -> unit
Public Shared Sub SetWhenCondition (dependencyObject As Object, value As Object)

Parameters

dependencyObject
Object

The underlying data storage object for the activity.

value
Object

The value of the when condition.

Exceptions

dependencyObject is a null reference (Nothing in Visual Basic).

The executable activities do not contain the dependencyObject.

Applies to

See also