Edit

Share via


SymbolResult.AddError(String) Method

Definition

Adds an error message for this symbol result to it's parse tree.

public:
 virtual void AddError(System::String ^ errorMessage);
public virtual void AddError(string errorMessage);
abstract member AddError : string -> unit
override this.AddError : string -> unit
Public Overridable Sub AddError (errorMessage As String)

Parameters

errorMessage
String

Remarks

Setting an error will cause the parser to indicate an error for the user and prevent invocation of the command line.

Applies to