IXCLRDataFrame::GetArgumentByIndex Method

Gets an argument by its (0-based) index. The name parameter is filled in if name information is available.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Syntax

HRESULT GetArgumentByIndex(
    [in] ULONG32 index,
    [out] IXCLRDataValue **arg,
    [in] ULONG32 bufLen,
    [out] ULONG32 *nameLen,
    [out, size_is(bufLen)] WCHAR name[]
);

Parameters

index
[in] The 0-based index of the argument to retrieve.

arg
[out] The argument at the specified index.

bufLen
[in] The length in characters of the name buffer.

nameLen
[out] The number of characters in the argument name written to the name buffer.

name
[out] The name of the argument.

Remarks

The provided method is part of the IXCLRDataFrame interface and corresponds to the 8th slot of the virtual method table.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also