MemberInfo

From Xojo Documentation

Class (inherits from Object)

MemberInfo is the super class for the AttributeInfo, MethodInfo, PropertyInfo, and TypeInfo classes in the Introspection system.

Properties
IsPrivate fa-lock-32.png IsPublic fa-lock-32.png
IsProtected fa-lock-32.png Name fa-lock-32.png
Methods
GetAttributes

Examples

The following reports the name of the class instance.

Var d As New Date
Var t As Introspection.TypeInfo = Introspection.GetType(d)
MessageBox("My class name is " + t.Name + ".")

The following gets the attributes of window1.

Var myAttributes() As Introspection.AttributeInfo= _
Introspection.GetType(Window1).GetAttributes

See Also

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

Xojo.Introspection