AccessibleObject.IAccessible.get_accState(Object) 方法

定义

检索指定辅助性对象的当前状态。Retrieves the current state of the specified accessible object.

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

参数

childID
Object

要为其获取状态信息的辅助性对象的 ID 号。The ID number of the accessible object for which to get state information. 该参数为 0,则选择该对象;或者,如果该参数为子级 ID,则选择该对象的一个子对象。This parameter is 0 to select the object, or a child ID to select one of the object's child objects.

返回

描述指定辅助性对象的当前状态的对象。An object that describes the current state of the specified accessible object.

实现

Accessibility.IAccessible.get_accState(System.Object)

适用于