<div class="meta" robots="noindex">

</div>

Class

# Xojo.Introspection.MemberInfo

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2020r2. Please use `MemberInfo</api/language/introspection/memberinfo>` as a replacement.

</div>

## Description

The superclass for many of the Introspection classes.

## Properties

<div class="rst-class">

table-centered_columns_3_and_4

</div>

| Name                                                     | Type                               | Read-Only | Shared |
|----------------------------------------------------------|------------------------------------|-----------|--------|
| `IsPrivate<xojo.introspection.memberinfo.isprivate>`     | `Boolean</api/data_types/boolean>` | ✓         |        |
| `IsProtected<xojo.introspection.memberinfo.isprotected>` | `Boolean</api/data_types/boolean>` | ✓         |        |
| `IsPublic<xojo.introspection.memberinfo.ispublic>`       | `Boolean</api/data_types/boolean>` | ✓         |        |
| `Name<xojo.introspection.memberinfo.name>`               | `Text</api/deprecated/text>`       | ✓         |        |

## Methods

<div class="rst-class">

table-centered_column_4

</div>

| Name                                                         | Parameters | Returns                                                    | Shared |
|--------------------------------------------------------------|------------|------------------------------------------------------------|--------|
| `GetAttributes<xojo.introspection.memberinfo.getattributes>` |            | `AttributeInfo</api/language/introspection/attributeinfo>` |        |
| `Parameters<xojo.introspection.memberinfo.parameters>`       |            | `ParameterInfo</api/language/introspection/parameterinfo>` |        |

## Property descriptions

<div id="xojo.introspection.memberinfo.isprivate">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

Xojo.Introspection.MemberInfo.IsPrivate

**IsPrivate** As `Boolean</api/data_types/boolean>`

Checks if the item has private scope.

This property is read-only.

<div id="xojo.introspection.memberinfo.isprotected">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

Xojo.Introspection.MemberInfo.IsProtected

**IsProtected** As `Boolean</api/data_types/boolean>`

Checks if the item has protected scope.

This property is read-only.

<div id="xojo.introspection.memberinfo.ispublic">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

Xojo.Introspection.MemberInfo.IsPublic

**IsPublic** As `Boolean</api/data_types/boolean>`

Checks if the item has public scope.

This property is read-only.

<div id="xojo.introspection.memberinfo.name">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

Xojo.Introspection.MemberInfo.Name

**Name** As `Text</api/deprecated/text>`

The name of the item.

This property is read-only.

Gets the names of methods on a class:

``` xojo
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
```

## Method descriptions

<div id="xojo.introspection.memberinfo.getattributes">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

Xojo.Introspection.MemberInfo.GetAttributes

**GetAttributes** As `AttributeInfo</api/language/introspection/attributeinfo>`

Gets the attributes for the associated item.

The following code gets the attributes for the window containing the code:

``` xojo
Var myAttributes() As Introspection.AttributeInfo
myAttributes = GetType(Self).GetAttributes
```

<div id="xojo.introspection.memberinfo.parameters">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

Xojo.Introspection.MemberInfo.Parameters

**Parameters** As `ParameterInfo</api/language/introspection/parameterinfo>`

Gets the parameters for the member.

## Compatibility

All project types on all supported operating systems.
