Bewerken

Delen via


AccessibleObject.IAccessible.accNavigate(Int32, Object) Method

Definition

Navigates to an accessible object relative to the current object. For a description of this member, see accNavigate(Int32, Object).

 virtual System::Object ^ Accessibility.IAccessible.accNavigate(int navDir, System::Object ^ childID) = Accessibility::IAccessible::accNavigate;
object IAccessible.accNavigate (int navDir, object childID);
object? IAccessible.accNavigate (int navDir, object childID);
abstract member Accessibility.IAccessible.accNavigate : int * obj -> obj
override this.Accessibility.IAccessible.accNavigate : int * obj -> obj
Function accNavigate (navDir As Integer, childID As Object) As Object Implements IAccessible.accNavigate

Parameters

navDir
Int32

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

childID
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.

Returns

The accessible object positioned at the value specified by navDir.

Implements

Remarks

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.

Applies to