INatAutoObjects

#### Search Results

Search

# INatAutoObjects

This document covers the following topics:

- Purpose

- Properties

- Methods

## Purpose

Used to navigate to the collections of development objects and other related collections.

## Properties

The following properties are available:

- Parent

- Studio

- Programs

- Dialogs

- DataAreas

- ObjectTrees

- ObjectLists

- GenericTexts

- GenericDocuments

- SelectedObjects

- RefreshObject

### Parent

Used to navigate to the parent interface of this interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoStudio) | Get only

### Studio

Used to navigate to the root interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoStudio) | Get only

### Programs

Used to navigate to the `INatAutoPrograms` interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoPrograms) | Get only

### Dialogs

Used to navigate to the `INatAutoDialogs` interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoDialogs) | Get only

### DataAreas

Used to navigate to the `INatAutoDataAreas` interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoDataAreas) | Get only

### ObjectTrees

Used to navigate to the `INatAutoObjectTrees` interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoObjectTrees) | Get only

### ObjectLists

Used to navigate to the `INatAutoObjectLists` interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoObjectLists) | Get only

### GenericTexts

Used to navigate to the `INatAutoGenericTexts` interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoGenericTexts) | Get only

### GenericDocuments

Used to navigate to the `INatAutoGenericDocuments` interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoGenericDocuments) | Get only

### SelectedObjects

Used to navigate to the `INatAutoSelectedObjects` interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoSelectedObjects) | Get only

### RefreshObject

Used to navigate to the `INatAutoRefreshObject` interface.

Natural Data Format | Variant Type | Remark
--- | --- | ---
HANDLE OF OBJECT | VT_DISPATCH (INatAutoRefreshObject) | Get only

## Methods

The following method is available:

- ActiveObject

### ActiveObject

Returns the currently active document window.

#### Parameters

Name | Natural Data Format | Variant Type | Remark
--- | --- | --- | ---
Return value | HANDLE OF OBJECT | VT_DISPATCH |
Class | A | VT_BSTR | By reference

> Return value

>   A handle to the currently active document window. This can be a handle to one of the following:

>   - `INatAutoProgram`

>   - `INatAutoDialog`

>   - `INatAutoDataArea`

>   - `INatAutoGenericText`

>   - `INatAutoGenericDocument`

>   - `INatAutoObjectTree`

>   - `INatAutoObjectList`

> Class

>   A string that identifies the class of the document window. The string contains one of the following:

>   - `INatAutoProgram`

>   - `INatAutoDialog`

>   - `INatAutoDataArea`

>   - `INatAutoGenericText`

>   - `INatAutoGenericDocument`

>   - `INatAutoObjectTree`

>   - `INatAutoObjectList`

### On this page

- Purpose
- Properties
- Methods