Muokkaa

Jaa


IXCLRDataModule::StartEnumMethodInstancesByName Method

Provides a handle for the enumeration of method instances of a given name and appDomain associated with the module.

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 StartEnumMethodInstancesByName(
    [in] LPCWSTR name,
    [in] ULONG32 flags,
    [in] IXCLRDataAppDomain *appDomain,
    [out] CLRDATA_ENUM *handle
);

Parameters

name
[in] A buffer containing the name for which to enumerate method instances within the given appDomain associated with the module.

flags
[in] A set of flags governing the enumeration of method instances.

Flags may contain one or more of the following values:

Flag Value Description
CLRDATA_BYNAME_CASE_SENSITIVE 0x00000000 The enumeration should be case sensitive according to name.
CLRDATA_BYNAME_CASE_INSENSITIVE 0x00000001 The enumeration should be case insensitive according to name.

appDomain
[in] The AppDomain from which to enumerate method instances of the given name.

handle
[out] A handle for enumerating method instances of a given name and appDomain associated with the module.

Remarks

The provided method is part of the IXCLRDataModule interface and corresponds to the 23rd slot of the virtual method table.

Requirements

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

See also