PEHeaders.TryGetDirectoryOffset(DirectoryEntry, Int32) メソッド

定義

イメージの先頭から指定されたディレクトリ データへのオフセット (バイト単位) を取得します。

public:
 bool TryGetDirectoryOffset(System::Reflection::PortableExecutable::DirectoryEntry directory, [Runtime::InteropServices::Out] int % offset);
public bool TryGetDirectoryOffset(System.Reflection.PortableExecutable.DirectoryEntry directory, out int offset);
member this.TryGetDirectoryOffset : System.Reflection.PortableExecutable.DirectoryEntry * int -> bool
Public Function TryGetDirectoryOffset (directory As DirectoryEntry, ByRef offset As Integer) As Boolean

パラメーター

directory
DirectoryEntry

PE ディレクトリ エントリ。

offset
Int32

メソッドから制御が戻るときに、イメージの先頭から指定されたディレクトリ データへのオフセットが格納されます。

返品

true ディレクトリ データが見つかった場合。それ以外の場合 false

適用対象