DebugDirectoryBuilder.AddEntry 方法

定义

重载

AddEntry(DebugDirectoryEntryType, UInt32, UInt32)

添加指定类型的项。Adds an entry of the specified type.

AddEntry<TData>(DebugDirectoryEntryType, UInt32, UInt32, TData, Action<BlobBuilder,TData>)

添加指定类型的项并对其数据进行序列化。Adds an entry of the specified type and serializes its data.

AddEntry(DebugDirectoryEntryType, UInt32, UInt32)

添加指定类型的项。Adds an entry of the specified type.

public:
 void AddEntry(System::Reflection::PortableExecutable::DebugDirectoryEntryType type, System::UInt32 version, System::UInt32 stamp);
public void AddEntry (System.Reflection.PortableExecutable.DebugDirectoryEntryType type, uint version, uint stamp);
member this.AddEntry : System.Reflection.PortableExecutable.DebugDirectoryEntryType * uint32 * uint32 -> unit
Public Sub AddEntry (type As DebugDirectoryEntryType, version As UInteger, stamp As UInteger)

参数

type
DebugDirectoryEntryType

项类型。The entry type.

version
UInt32

项版本。The entry version.

stamp
UInt32

项标记。The entry stamp.

适用于

AddEntry<TData>(DebugDirectoryEntryType, UInt32, UInt32, TData, Action<BlobBuilder,TData>)

添加指定类型的项并对其数据进行序列化。Adds an entry of the specified type and serializes its data.

public:
generic <typename TData>
 void AddEntry(System::Reflection::PortableExecutable::DebugDirectoryEntryType type, System::UInt32 version, System::UInt32 stamp, TData data, Action<System::Reflection::Metadata::BlobBuilder ^, TData> ^ dataSerializer);
public void AddEntry<TData> (System.Reflection.PortableExecutable.DebugDirectoryEntryType type, uint version, uint stamp, TData data, Action<System.Reflection.Metadata.BlobBuilder,TData> dataSerializer);
member this.AddEntry : System.Reflection.PortableExecutable.DebugDirectoryEntryType * uint32 * uint32 * 'Data * Action<System.Reflection.Metadata.BlobBuilder, 'Data> -> unit
Public Sub AddEntry(Of TData) (type As DebugDirectoryEntryType, version As UInteger, stamp As UInteger, data As TData, dataSerializer As Action(Of BlobBuilder, TData))

类型参数

TData

传递给的数据的类型 dataSerializerThe type of the data passed to dataSerializer.

参数

type
DebugDirectoryEntryType

项类型。The entry type.

version
UInt32

项版本。The entry version.

stamp
UInt32

项标记。The entry stamp.

data
TData

要传递给 dataSerializer 的数据。The data to pass to dataSerializer.

dataSerializer
Action<BlobBuilder,TData>

用于将数据序列化到 BlobBuilder 的序列化程序。A serializer for serializing data to a BlobBuilder.

适用于