IDebugVsaScriptCodeItem 接口
定义
定义用于计算表达式和分析字符串的方法。Defines methods that evaluate expressions and parse strings. 此接口通常由一个对象实现,该对象表示代码块并通常由调试器调用。This interface is typically implemented by an object that represents a code block, and it is typically called by a debugger. 此接口提供 IActiveScript 宿主需要的额外功能。This interface provides extra functionality that is needed by an IActiveScript host.
此 API 支持产品基础结构,不能在代码中直接使用。
public interface class IDebugVsaScriptCodeItem
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("6DFE759A-CB8B-4ca0-A973-1D04E0BF0B53")]
public interface IDebugVsaScriptCodeItem
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("6DFE759A-CB8B-4ca0-A973-1D04E0BF0B53")>]
type IDebugVsaScriptCodeItem = interface
Public Interface IDebugVsaScriptCodeItem
- 属性
方法
| Evaluate() |
此 API 支持产品基础结构,不能在代码中直接使用。 在类中实现时,计算由代码项表示的块、表达式或语句,并返回值。When implemented in a class, evaluates the block, expression, or statement represented by the code item and returns the value. 它通常由调试器调用,满足其计算表达式(例如在“监视”窗口中)的需要。It is typically called by a debugger that needs to evaluate an expression (in a Watch window, for example). 对于表达式来说,值是表达式的结果。For expressions, the value is the result of the expression. 对于块和语句,结果表达式是由块或语句计算的最后一个表达式。For blocks and statements, the resulting expression is the last expression calculated by the block or statement. |
| ParseNamedBreakPoint(String, String, Int32, String, String, UInt64) |
此 API 支持产品基础结构,不能在代码中直接使用。 在类中实现时,分析字符串并返回分析出的信息。When implemented in a class, parses strings and returns the parsed-out information. 此方法通常由调试器调用,满足其分析有关断点的信息的需要,该断点表示为 |