Partager via


IDebugSymbolProvider::GetNamespacesUsedAtAddress

This method creates an enumerator for namespaces associated with the debug address.

HRESULT GetNamespacesUsedAtAddress( 
   IDebugAddress*     pAddress,
   IEnumDebugFields** ppEnum
);
int GetNamespacesUsedAtAddress(
   IDebugAddress        pAddress,
   out IEnumDebugFields ppEnum
);

Parameters

  • pAddress
    [in] The debug address.

  • ppEnum
    [out] Returns an IEnumDebugFields enumerator for the namespaces.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

There may be several namespaces associated with a given debug address, for example, nested namespaces or multiple using statements.

See Also

Reference

IDebugSymbolProvider

IEnumDebugFields