Interface IRuntimeSemanticsEvaluationResult
The outcome of evaluating any runtime semantics, read without regard to how precisely the evaluation's result type was stated.
public interface IRuntimeSemanticsEvaluationResult
Remarks
RuntimeSemanticsEvaluationResult<TValue> names the VBTypedValue a specific evaluation produces, which is how a standard-library signature states its own VBA return type; RuntimeSemanticsEvaluationResult names none. A caller that dispatches over declarations it did not write - an invoker reaching a standard-library member through reflection, say - cannot know which of the two it is holding, and needs the outcome regardless: this is what both of them are.
Properties
ErrorInfo
The error metadata for the run-time error to be reported, if applicable.
IVBRaisableError? ErrorInfo { get; }
Property Value
IsError
true if the evaluation semantically yields a runtime error.
bool IsError { get; }
Property Value
IsInternalError
true if an evaluation strategy could not be determined.
bool IsInternalError { get; }
Property Value
IsSuccess
true if the evaluation was successfully completed.
bool IsSuccess { get; }
Property Value
Result
The result of the evaluation, if one was produced.
VBTypedValue? Result { get; }