点击或拖拽改变大小

Codeblock Class

X#
Internal type that implements the VO Compatible CODEBLOCK type
This type has methods that normally are never directly called from user code.
Inheritance Hierarchy
Object
  Codeblock
    _Codeblock

命名空间:  XSharp
程序集:  XSharp.RT (在 XSharp.RT.dll 中) 版本:2.24 GA
Syntax
 ABSTRACT CLASS Codeblock IMPLEMENTS ICodeblock2, 
	ICodeblock
Request Example 查看代码

Codeblock 类型公开以下成员。

Properties
  NameDescription
公共属性ResultType
Returns the real /original return type of the EvalBlock() method
Top
Methods
  NameDescription
公共方法Eval
Executes the codeblock.
公共方法EvalBlock
Eval method that can be called from code that does not "know" about the USUAL type. such as the code in the RDD classes.
公共方法PCount
Returns the number of parameters in the codeblock
公共方法ToString
Return a string that contains the # of parameters for display in the debugger.
(重写 ToString.)
Top
See Also