Click or drag to resize

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

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 ABSTRACT CLASS Codeblock IMPLEMENTS ICodeblock2, 
	ICodeblock
Request Example View Source

The Codeblock type exposes the following members.

Properties
  NameDescription
Public propertyResultType
Returns the real /original return type of the EvalBlock() method
Top
Methods
  NameDescription
Public methodEval
Executes the codeblock.
Public methodEvalBlock
Eval method that can be called from code that does not "know" about the USUAL type. such as the code in the RDD classes.
Public methodPCount
Returns the number of parameters in the codeblock
Public methodToString
Return a string that contains the # of parameters for display in the debugger.
(Overrides ToString.)
Top
See Also