getFileName()  isAssocWith()

Chapter 5: General Objects and Methods

getPathName()

Description

Retrieves the path of the file associated with the I/O file object.

Syntax

getPathName(string *path);

Parameter

Description

path

Pointer to the string to hold the path to the associated file.

Return value

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

Usage

Pointer to object

Object

string path;

piof->getPathName(&path);

string path;my_iofobj.getPathName(&path);





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

View this book as PDF