TypeBuilder.DefineInitializedDataCore(String, Byte[], FieldAttributes) Metoda

Definice

Při přepsání v odvozené třídě definuje inicializované datové pole v oddílu .sdata přenosného spustitelného souboru (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

Parametry

name
String

Název, který se používá k odkaz na data. name nemůže obsahovat vložené hodnoty null.

data
Byte[]

Objekt blob dat.

attributes
FieldAttributes

Bitové kombinace hodnot výčtu, která určuje atributy pro pole.

Návraty

Pole pro odkaz na data.

Platí pro