AccessibleObject.IAccessible.set_accValue(Object, String) 方法

定義

將新的值指派給指定項目。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

要獲指派新值之可存取物件的 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

要指派給指定之可存取物件的新值。The new value to assign to the specified accessible object.

實作

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

適用於