MetadataReaderExtensions.GetHeapSize(MetadataReader, HeapIndex) 方法

定义

返回指定堆的大小。

public:
[System::Runtime::CompilerServices::Extension]
 static int GetHeapSize(System::Reflection::Metadata::MetadataReader ^ reader, System::Reflection::Metadata::Ecma335::HeapIndex heapIndex);
public static int GetHeapSize (this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.Ecma335.HeapIndex heapIndex);
static member GetHeapSize : System.Reflection.Metadata.MetadataReader * System.Reflection.Metadata.Ecma335.HeapIndex -> int
<Extension()>
Public Function GetHeapSize (reader As MetadataReader, heapIndex As HeapIndex) As Integer

参数

heapIndex
HeapIndex

返回

例外

readernull

heapIndex 不是有效的堆索引。

适用于