From Xojo Documentation

Revision as of 19:04, 27 August 2018 by PLefebvre (talk | contribs) (Created page with "{{PropertyBox | name=Name | owner=Xojo.Introspection.MemberInfo | ownertype=class | readonly=yes | scope=public | type=Text }} {{Description | text = The name of the i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Read-Only Property (As Text )
TextValue = aXojo.Introspection.MemberInfo.Name

Supported for all project types and targets.

The name of the item.

Sample Code

Gets the names of methods on a class:

Using Xojo.Introspection

Dim obj As New Class1
Dim info As TypeInfo = GetType(obj)
Dim methods() As MethodInfo = info.Methods

Dim methodNames() As Text
For Each m As MethodInfo In methods