PropertyInfo

From Xojo Documentation

Class (inherits from MemberInfo)

Used to get information about properties via the Introspection system.

Properties
CanRead IsComputed PropertyType
CanWrite IsShared


Methods
Value

Examples

This example gets the list of properties for the passed type instance.

Var d As New Date
Var myProperties() As Introspection.PropertyInfo = Introspection.GetType(d).GetProperties
For Each prop As Introspection.PropertyInfo in myProperties
ListBox1.AddRow(prop.Name)
Next

See Also

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