AccessibleObject.IAccessible.get_accDefaultAction(Object) AccessibleObject.IAccessible.get_accDefaultAction(Object) AccessibleObject.IAccessible.get_accDefaultAction(Object) Method

定义

返回指示指定对象的默认操作的字符串。Returns a string that indicates the specified object's default action.

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

参数

childID
Object Object Object

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

返回

字符串指示 childID 的默认操作,或者,如果 childID 没有默认操作,则指示 name 的默认操作。A string that indicates the default action of childID, or name if childID has no default action.

适用于