MemberInfo.Name

From Xojo Documentation

Revision as of 20:51, 31 August 2011 by Dbrandt (talk | contribs) (added example)
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.

Example

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

Dim d as New Date
Dim myProperties() as Introspection.PropertyInfo = Introspection.GetType(d).GetProperties
For i as Integer=0 to Ubound(myProperties)
ListBox1.AddRow myProperties(i).Name
Next