WorkflowChanges.GetCondition(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.
Gets the condition property on a dependency object.
public:
static System::Object ^ GetCondition(System::Object ^ dependencyObject);
public static object GetCondition (object dependencyObject);
static member GetCondition : obj -> obj
Public Shared Function GetCondition (dependencyObject As Object) As Object
Parameters
- dependencyObject
- Object
A DependencyObject (or derived type) that contains a condition property, such as the SequentialWorkflowActivity and StateMachineWorkflowActivity activities.
Returns
A condition property type, such as ActivityCondition.
Exceptions
dependencyObject
is null (Nothing
in Visual Basic).
dependencyObject
is not a DependencyObject or a type that derives from DependencyObject.
Remarks
The ConditionProperty is an attached dependency property, that is, it is declared and used by one type and set on another. Therefore, there must be static get
and set
methods on the type declaring the property.
Helper method for getting ConditionProperty.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om