Condividi tramite


IDebugGenericFieldDefinition::GetFormalTypeParams

Retrieves the type parameters given the number of parameters.

HRESULT GetFormalTypeParams(
   ULONG32                   cParams,
   IDebugGenericParamField** ppParams,
   ULONG32*                  pcParams
);
int GetFormalTypeParams(
   uint                          cParams,
   out IDebugGenericParamField[] ppParams,
   ref uint                      pcParams
);

Parameters

  • cParams
    [in] Number of parameters.

  • ppParams
    [out] Array of type parameters.

  • pcParams
    [in, out] Number of parameters in the ppParams array.

Return Value

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

Remarks

Return the type parameters in order from left to right. For example, Dictionary<K,V> returns IDebugFormalGenericParameters {K,V}.

See Also

Reference

IDebugGenericFieldDefinition