Variant.setByRef

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

@param val the new bool value

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

@since 2.1

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

Meta