MemberInfo.Name

From Xojo Documentation

Revision as of 15:46, 16 July 2019 by Gperlman (talk | contribs)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As String )
aMemberInfo.Name = newStringValue
or
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 New Date
For Each prop As Introspection.PropertyInfo In Introspection.GetType(d).GetProperties
ListBox1.AddRow(prop.Name)
Next