DataObject.NoMethod Method | |
Defines a dynamic method.
Namespace:
XSharp.XPP
Assembly:
XSharp.XPP (in XSharp.XPP.dll) Version: 2.19
Syntax VIRTUAL METHOD NoMethod(
cName,
uParams
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public override Usual NoMethod(
Usual cName = default,
Usual uParams = default
)
Request Example
View SourceParameters
- cName (Optional)
- Type: Usual
- uParams (Optional)
- Type: Usual
This is a dummy parameter.
The method will receive an arbitrary number of parameters and will pass these parameters along to the method that is called.
Return Value
Type:
UsualExecution of an undefined method always returns NIL.
Remarks
The method noMethod() is executed whenever an undefined method is called.
The implementation of noMethod() in the DataObject class checks to see if a method has been defined with defineMethod.
Once a method is defined using defineMethod() then the method is called by NoMethod() and the parameters are passed along.
If a method is not defined then no runtime error is generated but simply a NIL value is returned.
See Also