How to pass correct parameter to IAccessible.get_accValue(object varChild) with C#

  • Thread starter Thread starter Seraph Jiang
  • Start date Start date
S

Seraph Jiang

The original parameter of get_accValue is a VAIANT

virtual /* [id][propget][hidden] */ HRESULT STDMETHODCALLTYPE
get_accValue(
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR *pszValue) = 0;


I don't know how to define/use a Vaiant type in C#

(e-mail address removed)
 
Hi,

In most cases System.Object should work in place of a Variant. However,
it is important to understand that there are differences between a
variant and object.

Just type in Variant in C# in google and you will find multiple links
that tell you the minor differences.

Regards,
Vaibhav
 
Back
Top