Export (0) Print
Expand All

RuleValidation.PushParentExpression Method

Inserts an object at the top of the Stack.

Namespace:  System.Workflow.Activities.Rules
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public bool PushParentExpression(
	CodeExpression newParent
)

Parameters

newParent
Type: System.CodeDom.CodeExpression

The CodeExpression to add to the Stack.

Return Value

Type: System.Boolean
true if the newParent was added to the stack; otherwise, false.

ExceptionCondition
ArgumentNullException

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

If the newParent is already part of the parent CodeExpression objects, a new ValidationError is created.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft