IVsaScriptCodeItem.Execute 方法

定义

在类中实现时,编译并运行此代码。When implemented in a class, compiles and runs this code.

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 System::Object ^ Execute();
public object Execute ();
abstract member Execute : unit -> obj
Public Function Execute () As Object

返回

Object

如果通过运行代码获得了返回值,则为该返回值;否则为 null。The return value from running the code, if there is any; otherwise, null.

适用于

另请参阅