get()  getProp()

Chapter 5: General Objects and Methods

getData()

Description

Gets data from a message.

Syntax

getData({string | blob} *data);

Parameter

Description

data

Pointer to the location to put the data read from the message. This can be either a string or a blob. However, if it is a string, and the data contains a null, the string terminates.

Return value

Always returns 1.

Usage

Pointer to object

Object

string msgData;pot->getData(&msgData);

string msgData;my_otobj.getData(&msgData);

blob binData;pot->getData(&binData);

blob binData;my_otobj.getData(&binData);





Copyright © 2005. Sybase Inc. All rights reserved. getProp()

View this book as PDF