Microsoft SDK for Java

hasObject

This method of the ObjectBag Class determines whether the specified category and class are supported by the ObjectBag.

Syntax

public boolean hasObject(Category category, Class cls);

Return Value

Returns true if the ObjectBag supports the specified category and class; otherwise, returns false.

Parameters

category The Category object that represents the category being queried for.
cls The Class object that represents the class being queried for.

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