MemberInfo.Name

From Xojo Documentation

Revision as of 18:54, 14 July 2020 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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