Xojo Documentation
Xojo Documentation
Home
Getting Started
Get Started with Xojo
QuickStarts
Tutorials
Pi Programming
More Guides
Resources
In-Depth Guides
User Guide
Language Reference
Resources
Release Notes
System Requirements
Deprecations
Videos
Feedback
About
Usage
Copyrights and Trademarks
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Xojo.Introspection.MemberInfo.Name
From Xojo Documentation
Read-Only Property
(As
Text
)
Text
Value
=
a
Xojo.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
Var
obj
As
New
Class1
Var
info
As
TypeInfo = GetType(obj)
Var
methods()
As
MethodInfo = info
.
Methods
Var
methodNames()
As
Text
For Each
m
As
MethodInfo
In
methods
methodNames
.
AddRow(m
.
Name)
Next
Category
:
Properties