IDebugHostType2::GetGenericArgumentAt method (dbgmodel.h)

For the "i"-th generic argument to the generic/template, this returns a new IDebugHostSymbol which represents that argument. For templates, this is most often an IDebugHostType; however -- it may be an IDebugHostConstant for non-template type arguments.

Note that it is possible for some compiler generated generics and templates that this method will fail.

Syntax

HRESULT GetGenericArgumentAt(
  ULONG64          i,
  IDebugHostSymbol **argument
);

Parameters

i

The zero based index of the generic argument to returned.

argument

The i’th generic argument of the type will be returned here

Return value

This method returns HRESULT which indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostType2 interface