ConditionedActivityGroup.SetWhenCondition(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.