ModuleBuilder.DefineUninitializedDataCore Method

Definition

When overridden in a derived class, defines an uninitialized data field in the .sdata section of the portable executable (PE) file.

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

Parameters

name
String

The name used to refer to the data. name cannot contain embedded nulls.

size
Int32

The size of the data field.

attributes
FieldAttributes

A bitwise combination of the enumeration values that specifies the attributes for the field.

Returns

A field to reference the data.

Applies to

Tuote Versiot
.NET 8, 9, 10