IAccessible::get_accValue

[This is preliminary documentation and subject to change.]

Retrieves the object's Value property.

HRESULT get_accValue(
  VARIANT varChild,
  BSTR* pszValue
);
 

Parameters

varChild
[in] VARIANT structure identifying the child whose value will be retrieved. This parameter can be the child ID value (provided by the object), CHILDID_SELF for the object itself, or a string identifying the child (such as "A1"). The caller must initialize the structure's vt member to indicate which union member is valid prior to the call.
pszValue
[out, retval] Address of a variable that will contain a localized string containing the object's current value.

Return Values

Returns S_OK if successful or one of the following values or a standard COM error code otherwise.

DISP_E_MEMBERNOTFOUND
E_INVALIDARG

See Also

IAccessible::put_accValue