Difference between revisions of "MemberInfo.Name"

From Xojo Documentation

(added example)
m
Line 7: Line 7:
 
| platform=all
 
| platform=all
 
}}
 
}}
The name of the item.
+
{{Description
 +
|text = The name of the item.}}
  
 
==Example==
 
==Example==

Revision as of 19:22, 12 January 2012

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