The IMetadataCache type exposes the following members.

ToggleMethods

Type NameDescription
Public methodClear
Removes all entries currently in the metadata cache
Public methodDescribedIsOfClass
Returns whether a class description describes the class or subclass identified by a given class name or GUID string (true) or not (false). Class descriptions are fetched from the server and added to the metadata cache as needed.
Public methodGetClassDescriptionOverloaded.
Public methodGetClassDescriptions
Returns zero or more class descriptions for a given scope and the classes specified by a class identities array, which can contain both class names and GUID strings. Class descriptions not already resident are fetched from the server and added to the metadata cache. If a failure occurs while fetching a class description, the entire operation will fail. The returned array is the same size and in the same order as the class identities array; it is never null and its members are always valid class descriptions. Potentially, this operation is much more efficient than retrieving individual class descriptions because any non-resident class descriptions are fetched from the server in a single batch operation.
Public methodObjectIsOfClass
Returns whether an object is instantiated from a class or subclass identified by a given class name or GUID string (true) or not (false). Class descriptions are fetched from the server and added to the metadata cache as needed.

ToggleSee Also