IDebugGenericFieldDefinition::ConstructInstantiation
Applies to: Visual Studio Visual 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
Constructs a field instance given an array of type arguments.
Syntax
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.