Chapter Contents

Previous

Next
Object Class: _getMethod

Object Class: _getMethod



Returns the metadata for a specific method on a class or object


Syntax
Details

Syntax

return = objectName._getMethod( methodName, metadata );
return = objectName._getMethod( methodID, metadata2 );
return = objectName._getMethod( methodName, metadata3, instance );
return = objectName._getMethod( methodID, metadata4, instances );

Argument Type Use Description
return Numeric Return returns a value indicating whether the method was successfully retrieved: 0 if successful, 1 if not successful
methodName Character Input specifies the name of the method you want to retrieve
metadata Numeric Update specifies the identifier of a list that when returned contains method metadata. If the method is overloaded, the list will contain a sublist for each signature.
methodID Numeric Input specifies the unique id of the method you want to retrieve. Useful when a method is overloaded to uniquely identify the method.
metadata2 List Update specifies the identifier of a list that when returned contains method metadata
metadata3 List Update specifies the identifier of a list that when returned is filled with the method metadata
instance Character Input specifies whether methods are returned for instances of the class. This option is only valid for class instances.
metadata4 List Update specifies the identifier of a list that when returned is filled with method metadata
instances Character Input specifies whether the method is returned for instances of the class. This option is valid for class instances only.


Details

Consider the following information when you use _getMethod:


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.