Function CSPVariant::operator =()

Description:
Assigns a new datatype and a new value to the variant.

Prototype:
CSPVariant& operator =(const CSPVariant& varVariant);

Arguments:
  • const CSPVariant& varVariant [IN]




Return value:
A reference to the object itself.

Remarks:
For more information about the datatypes supported, see the remarks section of class CSPVariant.

Examples:
CSPVariant var1, var2;
var1 = 123; // data type 'int'
var2 = "Hello"; // data type 'CSPString'
CSPVariant | Basic classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd