Chapter Contents

Previous

Next
Object Class: _deleteMethod

Object Class: _deleteMethod



Deletes a method on a class or object


Syntax
Details

Syntax

return = objectName._deleteMethod( methodID );
return = objectName._deleteMethod( methodName );

Argument Type Use Description
return Numeric Return returns a value indicating whether the method was successfully deleted: 0 if successful, 1 if not successful
methodID Numeric Input specifies the id of the method to delete. Useful when a method is overloaded to uniquely identify which method signature to delete
methodName Character Input specifies the name of the method to delete


Details

SAS/AF software returns the new methodID of the method if you are trying to return an overridden method to its inherited state. For example, if someMethod is an overridden method whose id is 1207 and _deleteMethod is run to remove the override, the someMethod method is returned to its inherited state and a new id is returned via the methodID argument.


Chapter Contents

Previous

Next

Top of Page

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