共用方式為


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 不是有效的堆積索引。

適用於