Abstract.IsDerivedFrom Method | |
Checks if an object belongs to or is derived from a particular class.
Namespace:
XSharp.XPP
Assembly:
XSharp.XPP (in XSharp.XPP.dll) Version: 2.21
Syntax METHOD IsDerivedFrom(
uParent
) AS LOGIC CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public bool IsDerivedFrom(
Usual uParent = default
)
Request Example
View SourceParameters
- uParent (Optional)
- Type: Usual
A character string containing the name of the class an object belongs to or is derived from. Alternatively, the class object (System.Type) can be passed instead of the class name.
Return Value
Type:
LogicThe method returns .T. (true) if the object executing the method belongs to or is derived from the specified class.
Remarks This method is used to check if an unknown object has features of a known class. This is especially useful for event driven programming or when classes are inherited from other classes.
See Also