RuleValidation.PushParentExpression Method (CodeExpression)


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


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.

Exception Condition

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
Available since 3.0
Return to top