Variant.setByRef

Update the by reference value of this variant with a new integer value.

@param val the new integer value

@exception SWTException <ul> <li>ERROR_CANNOT_CHANGE_VARIANT_TYPE when type of Variant is not a (VT_BYREF | VT_I4) object</li> </ul>

@since 2.1

  1. void setByRef(bool val)
  2. void setByRef(float val)
  3. void setByRef(int val)
    class Variant
    void
    setByRef
    (
    int val
    )
  4. void setByRef(short val)

Meta