MetadataBuilder.SetCapacity メソッド

定義

オーバーロード

名前 説明
SetCapacity(HeapIndex, Int32)

指定したヒープの容量を設定します。

SetCapacity(TableIndex, Int32)

指定したテーブルの容量を設定します。

SetCapacity(HeapIndex, Int32)

ソース:
MetadataBuilder.Heaps.cs
ソース:
MetadataBuilder.Heaps.cs
ソース:
MetadataBuilder.Heaps.cs
ソース:
MetadataBuilder.Heaps.cs
ソース:
MetadataBuilder.Heaps.cs
ソース:
MetadataBuilder.Heaps.cs
ソース:
MetadataBuilder.Heaps.cs

指定したヒープの容量を設定します。

public:
 void SetCapacity(System::Reflection::Metadata::Ecma335::HeapIndex heap, int byteCount);
public void SetCapacity(System.Reflection.Metadata.Ecma335.HeapIndex heap, int byteCount);
member this.SetCapacity : System.Reflection.Metadata.Ecma335.HeapIndex * int -> unit
Public Sub SetCapacity (heap As HeapIndex, byteCount As Integer)

パラメーター

heap
HeapIndex

ヒープ インデックス。

byteCount
Int32

バイト数。

例外

heap は有効なヒープ インデックスではありません。

-又は-

byteCount が負の値です。

注釈

おおよそのバイト数が事前にわかっている場合は、このメソッドを使用して割り当てを減らします。

適用対象

SetCapacity(TableIndex, Int32)

ソース:
MetadataBuilder.Tables.cs
ソース:
MetadataBuilder.Tables.cs
ソース:
MetadataBuilder.Tables.cs
ソース:
MetadataBuilder.Tables.cs
ソース:
MetadataBuilder.Tables.cs
ソース:
MetadataBuilder.Tables.cs
ソース:
MetadataBuilder.Tables.cs

指定したテーブルの容量を設定します。

public:
 void SetCapacity(System::Reflection::Metadata::Ecma335::TableIndex table, int rowCount);
public void SetCapacity(System.Reflection.Metadata.Ecma335.TableIndex table, int rowCount);
member this.SetCapacity : System.Reflection.Metadata.Ecma335.TableIndex * int -> unit
Public Sub SetCapacity (table As TableIndex, rowCount As Integer)

パラメーター

table
TableIndex

テーブル インデックス。

rowCount
Int32

テーブルの行数。

例外

table が有効なテーブル インデックスではありません。

-又は-

rowCount が負の値です。

注釈

このメソッドを使用して、おおよその行数が事前にわかっている場合に割り当てを減らします。

適用対象