共用方式為


DebugDirectoryBuilder.AddEntry 方法

定義

多載

AddEntry(DebugDirectoryEntryType, UInt32, UInt32)

新增指定類型的項目。

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

新增指定類型的項目,並序列化其資料。

AddEntry(DebugDirectoryEntryType, UInt32, UInt32)

來源:
DebugDirectoryBuilder.cs
來源:
DebugDirectoryBuilder.cs
來源:
DebugDirectoryBuilder.cs

新增指定類型的項目。

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

項目類型。

version
UInt32

項目版本。

stamp
UInt32

項目戳記。

適用於

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

來源:
DebugDirectoryBuilder.cs
來源:
DebugDirectoryBuilder.cs
來源:
DebugDirectoryBuilder.cs

新增指定類型的項目,並序列化其資料。

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

傳遞至 dataSerializer的數據型別。

參數

type
DebugDirectoryEntryType

項目類型。

version
UInt32

項目版本。

stamp
UInt32

項目戳記。

data
TData

要傳遞至 dataSerializer 的資料。

dataSerializer
Action<BlobBuilder,TData>

將資料序列化為 BlobBuilder 的序列化程式。

適用於