IEntity::NamedEntities method (structuredquery.h)

Retrieves an enumeration of INamedEntity objects, one for each known named entity of this type.

Syntax

HRESULT NamedEntities(
  [in]          REFIID riid,
  [out, retval] void   **pNamedEntities
);

Parameters

[in] riid

Type: REFIID

The desired IID of the result, either IID_IEnumUnknown or IID_IEnumVARIANT.

[out, retval] pNamedEntities

Type: void**

Receives the address of a pointer to an enumeration of INamedEntity objects, one for each known named entity of this type.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header structuredquery.h