英語で読む

次の方法で共有


ModuleBuilder.DefineUninitializedDataCore メソッド

定義

派生クラスでオーバーライドされた場合、ポータブル実行可能ファイル (PE) ファイルの .sdata セクションで初期化されていないデータ フィールドを定義します。

C#
protected abstract System.Reflection.Emit.FieldBuilder DefineUninitializedDataCore(string name, int size, System.Reflection.FieldAttributes attributes);

パラメーター

name
String

データを参照するために使用する名前。 name に埋め込み null 値を含めることはできません。

size
Int32

データ フィールドのサイズ。

attributes
FieldAttributes

フィールドの属性を指定する列挙値のビットごとの組み合わせ。

戻り値

データを参照するフィールド。

適用対象

製品 バージョン
.NET 8, 9, 10