MemberInfo.Name

From Xojo Documentation

Read-Only Property (As String )
StringValue = aMemberInfo.Name

Supported for all project types and targets.

The name of the item. This is only the class name. To get the full namespace path, use FullName instead.

Sample Code

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

Var d As DateTime = DateTime.Now
For Each prop As Introspection.PropertyInfo In Introspection.GetType(d).GetProperties
ListBox1.AddRow(prop.Name)
Next