IDiaEnumSectionContribs::Item

Retrieves section contributions by means of an index.

Syntax

HRESULT Item ( 
   DWORD                index,
   IDiaSectionContrib** section
);

Parameters

index

[in] Index of the IDiaSectionContrib object to be retrieved. The index is in the range 0 to count-1, where count is returned by the IDiaEnumSectionContribs::get_Count method.

section

[out] Returns an IDiaSectionContrib object representing the desired section contribution.

Return Value

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

See also