SetBinaryData method

The SetBinaryData method sets the value of Binary type variable (passed as parameter to this method) as BYTE array.  

BOOL SetBinaryData(
 BSTR Name,// The name of the variable
 VARIANT Buffer// The data buffer
);


Parameters
  Name     [in] This is the name of the variable whose value should be changed.   Buffer     [in] This is a VARIANT type variable represented as BYTE array.
Return values
  The SetBinaryData method returns TRUE if the value is successfully set and FALSE otherwise.


See also
GetBinaryData method, SetBinaryDataVariant method, SetValue method