MethodInfo

From Xojo Documentation

Class (inherits from MemberInfo)

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

Properties
IsPrivate fa-lock-32.png IsPublic fa-lock-32.png Name fa-lock-32.png
IsProtected fa-lock-32.png IsShared fa-lock-32.png ReturnType fa-lock-32.png


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