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(Binary Large Object)입니다.

attributes
FieldAttributes

필드의 특성을 지정하는 열거형 값의 비트 조합입니다. 기본값은 Static입니다.

반환

데이터를 참조할 필드입니다.

적용 대상