Microsoft SDK for Java

getObject

This method of the ObjectBag Class requests an object with the specified category and class from the ObjectBag.

Syntax

public Object getObject(Category category, Class cls);

Return Value

Returns an object with the specified category and class.

Parameters

category The Category object that represents the category that is requested.
cls The Class object that represents the class that is requested.

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