ModuleBuilder.DefineInitializedDataCore メソッド

定義

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

protected:
 abstract System::Reflection::Emit::FieldBuilder ^ DefineInitializedDataCore(System::String ^ name, cli::array <System::Byte> ^ data, System::Reflection::FieldAttributes attributes);
protected abstract System.Reflection.Emit.FieldBuilder DefineInitializedDataCore (string name, byte[] data, System.Reflection.FieldAttributes attributes);
abstract member DefineInitializedDataCore : string * byte[] * System.Reflection.FieldAttributes -> System.Reflection.Emit.FieldBuilder
Protected MustOverride Function DefineInitializedDataCore (name As String, data As Byte(), attributes As FieldAttributes) As FieldBuilder

パラメーター

name
String

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

data
Byte[]

データのバイナリ ラージ オブジェクト (BLOB)。

attributes
FieldAttributes

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

戻り値

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

適用対象