AccessibleObject.IAccessible.set_accValue(Object, String) AccessibleObject.IAccessible.set_accValue(Object, String) AccessibleObject.IAccessible.set_accValue(Object, String) Method

定义

将新的值分配给指定的元素。Assigns a new value to the specified element.

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

参数

childID
Object Object Object

要向其分配新值的辅助性对象的 ID 号。The ID number of the accessible object to which to assign a new value. 该参数为 0,则选择该对象;或者,如果该参数为子级 ID,则选择该对象的一个子对象。This parameter is 0 to select the object, or a child ID to select one of the object's child objects.

newValue
String String String

分配给指定辅助性对象的新值。The new value to assign to the specified accessible object.

适用于