setValue

setValue — sets the point data to the specified type and value.

Syntax

For C++:

void setValue(CDataHubPoint& point);

void setValue(LPCTSTR svalue);

void setValue(double dvalue);

void setValue(int ivalue);

For Java, and C#:

void setValue(String svalue);

void setValue(double dvalue);

void setValue(int ivalue);

Parameters

point

A DataHubPoint class object whose data type and value are to be copied into this DataHubPoint object.

svalue

The desired string value.

dvalue

The desired double value.

ivalue

The desired integer value.

Description

Sets the object's data value and sets the type accordingly.