Microsoft SDK for Java

addObject

This method of the ObjectBag Class adds an object to the ObjectBag.

Syntax

public void addObject(Category category, Class cls, Object object);

Parameters

category The Category of the object being added.
cls The Class of the object being added. If cls is null, the class is inferred from the specified Object.
object The object to add to the object bag.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.