![]() Chapter Contents |
![]() Previous |
![]() Next |
| OLE Automation Class: _getReferenceId |
| Syntax | |
| Details | |
| Example |
Syntax |
| CALL SEND (OLE-object, '_getReferenceId', out-refid); |
| Argument | Type | Description |
|---|---|---|
| out-refid |
C | contains the returned reference identifier |
| Details |
_getReferenceId gets the OLE object identifier. The value returned is used in subsequent method 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 automation object. This identifier is then sent as a parameter value to an OLE-supplied method requiring an object identifier.
call send(oleobj1, '_getReferenceId',
refid);
call send(oleobj2, '_do', 'NewChart',
refid, p1, p2);
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.