Partager via


IDebugClassField::DoesInterfaceExist

Determines if a specific interface is defined in the class.

HRESULT DoesInterfaceExist( 
   LPCOLESTR pszInterfaceName
);
int DoesInterfaceExist(
   [In] string pszInterfaceName
);

Parameters

  • pszInterfaceName
    [in] A string containing the interface name to look for.

Return Value

If successful, returns S_OK, returns S_FALSE if the interface does not exist; otherwise, returns an error code.

Remarks

This method in effect gets an enumeration of all interfaces and searches the list for a matching interface.

See Also

Reference

IDebugClassField