Difference between revisions of "MemberInfo.Name"
From Xojo Documentation
Line 14: | Line 14: | ||
<rbcode> | <rbcode> | ||
Dim d As New Date | Dim d As New Date | ||
− | + | For Each prop As Introspection.PropertyInfo In Introspection.GetType(d).GetProperties | |
− | + | ListBox1.AddRow(prop.Name) | |
− | ListBox1.AddRow( | ||
Next | Next | ||
</rbcode> | </rbcode> |
Revision as of 15:46, 16 July 2019
Property (As String )
aMemberInfo.Name = newStringValue
or
StringValue = aMemberInfo.Name
Supported for all project types and targets.
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.