ModuleBuilder.DefineUninitializedDataCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When overridden in a derived class, defines an uninitialized data field in the .sdata section of the portable executable (PE) file.
protected:
abstract System::Reflection::Emit::FieldBuilder ^ DefineUninitializedDataCore(System::String ^ name, int size, System::Reflection::FieldAttributes attributes);
protected abstract System.Reflection.Emit.FieldBuilder DefineUninitializedDataCore (string name, int size, System.Reflection.FieldAttributes attributes);
abstract member DefineUninitializedDataCore : string * int * System.Reflection.FieldAttributes -> System.Reflection.Emit.FieldBuilder
Protected MustOverride Function DefineUninitializedDataCore (name As String, size As Integer, attributes As FieldAttributes) As FieldBuilder
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.