DebugDirectoryBuilder.AddEntry 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AddEntry(DebugDirectoryEntryType, UInt32, UInt32) |
新增指定類型的項目。 |
AddEntry<TData>(DebugDirectoryEntryType, UInt32, UInt32, TData, Action<BlobBuilder,TData>) |
新增指定類型的項目,並序列化其資料。 |
AddEntry(DebugDirectoryEntryType, UInt32, UInt32)
新增指定類型的項目。
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)
參數
項目類型。
- version
- UInt32
項目版本。
- stamp
- UInt32
項目戳記。
適用於
AddEntry<TData>(DebugDirectoryEntryType, UInt32, UInt32, TData, Action<BlobBuilder,TData>)
新增指定類型的項目,並序列化其資料。
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
的數據型別。
參數
項目類型。
- version
- UInt32
項目版本。
- stamp
- UInt32
項目戳記。
- data
- TData
要傳遞至 dataSerializer
的資料。
- dataSerializer
- Action<BlobBuilder,TData>
將資料序列化為 BlobBuilder 的序列化程式。