MethodInfo

From Xojo Documentation

Class (inherits from MemberInfo)

Provides information on the methods of the class instance via the Introspection system.

Properties
IsPrivate IsPublic Name
IsProtected IsShared ReturnType


Methods
GetAttributes GetParameters Invoke

Examples

The following gets the methods of the Date class instance:

Var d As New DateTime
Var myDbMethods() As Introspection.MethodInfo = _
Introspection.GetType(d).GetMethods
For Each method As Introspection.MethodInfo In MyDbMethods
Listbox1.AddRow(method.Name)
Next

See Also

Introspection module; AttributeInfo, ConstructorInfo, MemberInfo, ObjectIterator, ParameterInfo, PropertyInfo, TypeInfo classes; GetTypeInfo function.

Xojo.Introspection