ModuleBuilder.DefineInitializedDataCore Método

Definição

Quando sobrescrito numa classe derivada, define um campo de dados inicializado na secção .sdata do ficheiro executável portátil (PE).

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

Parâmetros

name
String

O nome usado para se referir aos dados. name não pode conter nulos embutidos.

data
Byte[]

O objeto binário grande (BLOB) dos dados.

attributes
FieldAttributes

Uma combinação bit a bit dos valores de enumeração que especifica os atributos do campo. A predefinição é Static.

Devoluções

Um campo para referenciar os dados.

Aplica-se a