Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > Methods Reference for Siebel VB > Code Setup and Control Methods > Remove Object MethodYou can use the Remove Object method to remove from memory an object that Siebel VB instantiates in memory. If an object variable does not reference an object, then it contains a value of Nothing. The Remove Object method does not return a value. FormatThe following table describes the arguments that you can use with this method.
ExampleThe following example adds an activity record when the user adds a contact record in a Siebel application. It presumes that the Contact business component is the parent business component. It instantiates the Action business component, and then uses the Remove Object method to remove this instance from memory after it finishes processing the business component data: Dim oBCact as BusComp With oBCact For other examples that use the Remove Object method, see Date and Time Methods and Get COM Object Method. |
Siebel VB Language Reference | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |