| Maptitude GISDK Help |
Determines whether an object's class, or an inherited class, implements a method.
Added to Version 5.0.
answer = ObjectHasMethod(object obj, string method_name)
| Argument | Contents |
|---|---|
| obj | An object variable |
| method_name | The name of the method |
The string "True" if the object's class, or an inherited class, implements a method of this name, otherwise "False."
| Error Type | Meaning |
|---|---|
| Error | obj or method_name is null |
| Function | Summary |
|---|---|
| CreateObject() | Creates a new object variable based on a class |
| GetClassMethodNames() | Returns a list of the names of the methods defined for the class |
| GetObjectClass() | Gets the name of the class for an object |
| GetObjectVariableNames() | Gets a list of the variable names for an object |
| IsKindOfClass() | Determines whether an object is in a class or inherits from that class |
| ©2025 Caliper Corporation | www.caliper.com |