Compartilhar via


IDiaEnumInjectedSources::Item

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves an injected source by means of an index.

Syntax

HRESULT Item ( 
   DWORD                index,
   IDiaInjectedSource** injectedSource
);

Parameters

index

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

injectedSource

[out] Returns an IDiaInjectedSource object representing the injected source.

Return Value

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

See also