AccessibleObject.IAccessible.get_accName(Object) AccessibleObject.IAccessible.get_accName(Object) AccessibleObject.IAccessible.get_accName(Object) Method

定义

检索指定对象的名称。Retrieves the name of the specified object.

 virtual System::String ^ Accessibility.IAccessible.get_accName(System::Object ^ childID) = Accessibility::IAccessible::get_accName;
string IAccessible.get_accName (object childID);
Function get_accName (childID As Object) As String Implements IAccessible.get_accName

参数

childID
Object Object Object

要检索其名称的辅助性对象的 ID 号。The ID number of the accessible object whose name is to be retrieved. 该参数为 0,则选择该对象;或者,如果该参数为子级 ID,则选择该对象的一个子对象。This parameter is 0 to select the object, or a child ID to select one of the object's child objects.

返回

指定对象的名称。The name of the specified object.

适用于