IModelObject::EnumerateKeyReferences method (dbgmodel.h)

The EnumerateKeyReferences method behaves similar to the EnumerateKeyValues method excepting that it returns references to the keys it enumerates (given by an IModelKeyReference interface boxed into an IModelObject) instead of the value of the key. Such references can be used to get or set the underlying value of the keys.

Syntax

HRESULT EnumerateKeyReferences(
  IKeyEnumerator **enumerator
);

Parameters

enumerator

An enumerator for references to all keys on the object (and all of its parent models) and metadata is returned in this argument as an IKeyEnumerator.

Return value

This method returns HRESULT that indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IModelObject interface