serializeNCFnsd()  setAttributeBegin()

Chapter 5: General Objects and Methods

setAttribute()

Description

Resets or creates an attribute to a given value of the NNDODataNode associated with this clNdo.

Syntax

setAttribute(string attribute, string *attributeValue)

Parameter

Description

attribute

String that contains the attribute.

attributeValue

String that contains the value of the attribute.

Return value

Integer. Returns 1 for success, and 0 for failure.

Usage

Pointer to object

Object

int rv;clNdo *pNDO_Child_01a;

.

.

pNDO_Child_01a->setAttribute    (“COLOR”,”GREEN”);

int rv;clNdo NDO_Child_01a;

.

.

NDO_Child_01a.setAttribute    (“COLOR”,”GREEN”);





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

View this book as PDF