ModuleBuilder.DefineUninitializedData(String, Int32, FieldAttributes) 메서드

정의

PE(이식 가능한 실행 파일) 파일의 .sdata 섹션에서 초기화되지 않은 데이터 필드를 정의합니다.

public:
 System::Reflection::Emit::FieldBuilder ^ DefineUninitializedData(System::String ^ name, int size, System::Reflection::FieldAttributes attributes);
public System.Reflection.Emit.FieldBuilder DefineUninitializedData(string name, int size, System.Reflection.FieldAttributes attributes);
member this.DefineUninitializedData : string * int * System.Reflection.FieldAttributes -> System.Reflection.Emit.FieldBuilder
Public Function DefineUninitializedData (name As String, size As Integer, attributes As FieldAttributes) As FieldBuilder

매개 변수

name
String

데이터를 참조하는 데 사용되는 이름입니다. name 은 포함된 null을 포함할 수 없습니다.

size
Int32

데이터 필드의 크기입니다.

attributes
FieldAttributes

필드의 특성입니다.

반품

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

예외

길이 name 는 0입니다.

-또는-

size 가 0보다 작거나 같거나 0x003f0000 보다 크거나 같습니다.

namenull입니다.

CreateGlobalFunctions() 가 이전에 호출되었습니다.

설명

Static 가 자동으로 포함됩니다 attributes.

이 메서드에서 정의한 데이터는 메서드가 호출될 때까지 CreateGlobalFunctions 만들어지지 않습니다.

적용 대상