AccessibleObject.IAccessible.set_accName(Object, String) Method

Definition

Assigns a new accessible name to the specified element.

 virtual void Accessibility.IAccessible.set_accName(System::Object ^ childID, System::String ^ newName) = Accessibility::IAccessible::set_accName;
void IAccessible.set_accName (object childID, string newName);
Sub set_accName (childID As Object, newName As String) Implements IAccessible.set_accName

Parameters

childID
Object

The ID number of the accessible object to which to assign a new name. This parameter is 0 to select the object, or a child ID to select one of the object's child objects.

newName
String

The new name to assign to childID.

Implements

Accessibility.IAccessible.set_accName(System.Object,System.String)

Applies to