Bookshelf Home | Contents | Index | PDF |
Siebel VB Language Reference > VB Language Reference > Nothing FunctionThis standard VB function removes an instantiated object from memory. SyntaxReturnsUsageNothing is the value object variables have when they do not refer to an object, either because they have not been initialized yet or because they were explicitly set to Nothing. For example:
Use the Nothing function to remove an object that you have instantiated from memory. ExampleThis example adds an activity record indicating that a contact has been added when a new contact is added in the Siebel application. It presumes that Contact is the parent business component and instantiates the Action business component, destroying it using the Nothing statement after the job is done. For other examples of the Nothing function, read CreateObject Function and GetObject Function. Dim oBCact as BusComp With oBCact See Also |
Siebel VB Language Reference |