AccessibleObject::IAccessible::accNavigate Method (Int32, Object^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Navigates to an accessible object relative to the current object. For a description of this member, see IAccessible::accNavigate.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

private:
virtual Object^ accNavigate(
	int navDir,
	Object^ childID
) sealed = IAccessible::accNavigate

Parameters

navDir
Type: System::Int32

One of the AccessibleNavigation enumerations that specifies the direction to navigate.

childID
Type: System::Object^

The ID number of the accessible object. This parameter is 0 to start from the object, or a child ID to start from one of the object's child objects.

Return Value

Type: System::Object^

The accessible object positioned at the value specified by navDir.

The following table describes the object types that the IAccessible::accNavigate method can return.

Type

Description

null

There is not an accessible object at the specified direction.

IAccessible

The accessible object at the specified direction.

integer

The child ID that identifies the accessible object at the specified direction. Use the parent IAccessible and the child ID to access the accessible object.

This member is an explicit interface member implementation. It can be used only when the AccessibleObject instance is cast to an IAccessible interface.

.NET Framework
Available since 1.1
Return to top
Show: