Chapter Contents |
Previous |
Next |
OLE: _getReferenceId |
Syntax | |
Details | |
Example |
Syntax |
CALL NOTIFY (OLE-object, '_getReferenceId', out-refid); |
Argument | Type | Description |
---|---|---|
out-refid |
C | contains the returned reference identifier |
Details |
The _getReferenceId method is used to get the OLE object identifier. The value returned is used in subsequent _do or _compute calls where the OLE-supplied method requires an OLE object as one of its parameters. This value should be used for the object parameter.
Example |
The following example returns the reference identifier for the OLE object. This identifier is then sent as a parameter value to an OLE-supplied method requiring an object identifier.
call notify( 'oleobj1', '_getReferenceId', refid); call notify( 'oleobj2', '_do', 'NewAppl', refid, p1, p2);
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.