RuleValidation.PushParentExpression(CodeExpression) Método

Definição

Insere um objeto na parte superior do Stack.Inserts an object at the top of the Stack.

public:
 bool PushParentExpression(System::CodeDom::CodeExpression ^ newParent);
public bool PushParentExpression (System.CodeDom.CodeExpression newParent);
member this.PushParentExpression : System.CodeDom.CodeExpression -> bool
Public Function PushParentExpression (newParent As CodeExpression) As Boolean

Parâmetros

newParent
CodeExpression

O CodeExpression para adicionar ao Stack.The CodeExpression to add to the Stack.

Retornos

Boolean

true se o newParent foi adicionado à pilha; caso contrário, false.true if the newParent was added to the stack; otherwise, false.

Exceções

newParent é uma referência nula (Nothing no Visual Basic).newParent is a null reference (Nothing in Visual Basic).

Comentários

Se a newParent já for parte dos objetos pai CodeExpression , um novo ValidationError será criado.If the newParent is already part of the parent CodeExpression objects, a new ValidationError is created.

Aplica-se a