IEntity::GetNamedEntity Method

Retrieves an INamedEntity object based on an entity name.

Syntax

HRESULT GetNamedEntity(      
    LPCWSTR pszValue,
    INamedEntity **ppNamedEntity
);

Parameters

  • pszValue
    [in] The name of an entity to be found.
  • ppNamedEntity
    [out, retval] Receives a pointer to the INamedEntity object that was named in pszValue. NULL if no named entity was found.

Return Value

Returns S_OK if successful, or S_False if the named entity cannot be found.