Expression.GetConstantValue
- 已更新2025-07-21
- 閱讀時間為 1 分鐘
Expression.GetConstantValue
Syntax
Expression.GetConstantValue
Return Value
Purpose
If the expression is a constant, the method returns the result of the expression in the form of a PropertyObject, otherwise the method returns NULL .
Remarks
This method evaluates the expression without a context and without altering values.