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 IsPublic
IsProtected Name


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