Muokkaa

Jaa


IXCLRDataTypeInstance::GetNumStaticFields Method

Gets the number of static fields in the type.

NOTE: This method is obsolete.

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 GetNumStaticFields(
    [out] ULONG32 *numFields
);

Parameters

numFields
[out] The number of static fields in the type.

Remarks

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

Requirements

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

See also