MemberInfo
From Xojo Documentation
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
Description
MemberInfo is the super class for the AttributeInfo, MethodInfo, PropertyInfo, and TypeInfo classes in the Introspection system.
Super Class
Properties
Name | Type | Description |
---|---|---|
IsPrivate
Introduced 2008r3
|
Boolean | If True, the item has Private scope. |
IsProtected
Introduced 2008r3
|
Boolean | Is True, the item has Protected scope. |
IsPublic
Introduced 2008r3
|
Boolean | If True, the item has Public scope. |
Name | String | The name of the item. |
Methods
Name | Return Type | Description |
---|---|---|
GetAttributes | AttributeInfo() | Returns an array of AttributeInfo objects. |
Examples
The following reports the name of the class instance.
MsgBox "My class name is "+t.Name+"."
|
The following gets the attributes of window1.
Introspection.GetType(window1).GetAttributes
|
See Also
Introspection module; AttributeInfo, ConstructorInfo, MethodInfo, ObjectIterator, ParameterInfo, PropertyInfo, TypeInfo classes; GetTypeInfo function.