IDebugDocumentContext::EnumCodeContexts

Enumerates the code contexts associated with this document context.

Syntax

HRESULT EnumCodeContexts(  
   IEnumDebugCodeContexts**  ppescc  
);  

Parameters

ppescc
[out] The code contexts associated with this document context.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Value Description
S_OK The method succeeded.

Remarks

A document is usually associated with only one code context, unless the document is an include file or a template.

See also

IDebugDocumentContext Interface