Edit

Share via


IDebugGenericFieldDefinition::ConstructInstantiation

Constructs a field instance given an array of type arguments.

Syntax

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