setUserdata

setUserdata — associates the point with a user object.

Syntax

For C++, Java, and C#:

void setUserdata(void* userdata);

Parameters

userdata

Any user-supplied data of size (void*).

Description

Sets the userdata property of a point. The user is free to set this to anything (of the appropriate size). When a point is updated in the DataHubConnector point cache, this property is maintained, providing the user with a facility for maintaining an association between a point and an object in the user's application space.

See Also

getUserData, initializePointCache