Поделиться через


IDebugGenericFieldDefinition::ConstructInstantiation

Constructs a field instance given an array of type arguments.

HRESULT ConstructInstantiation(
   ULONG32       cArgs,
   IDebugField** ppArgs,
   IDebugField** ppConstructedField
);
int ConstructInstantiation(
   uint            cArgs,
   IDebugField[]   ppArgs,
   out IDebugField ppConstructedField
);

Parameters

  • cArgs
    [in] Number of arguments in the ppArgs array.

  • ppArgs
    [in] Array that contains the type arguments. The type arguments must be closed types (non-generic or fully instantiated generics).

  • ppConstructedField
    [out] Returns the IDebugField interface that represents the new field.

Return Value

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

Remarks

Constraints are not checked.

See Also

Reference

IDebugGenericFieldDefinition