Module.GetPEKind(PortableExecutableKinds, ImageFileMachine) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會得到一對表示模組程式碼性質及模組目標平台的值。
public:
void GetPEKind([Runtime::InteropServices::Out] System::Reflection::PortableExecutableKinds % peKind, [Runtime::InteropServices::Out] System::Reflection::ImageFileMachine % machine);
public:
virtual void GetPEKind([Runtime::InteropServices::Out] System::Reflection::PortableExecutableKinds % peKind, [Runtime::InteropServices::Out] System::Reflection::ImageFileMachine % machine);
public void GetPEKind(out System.Reflection.PortableExecutableKinds peKind, out System.Reflection.ImageFileMachine machine);
public virtual void GetPEKind(out System.Reflection.PortableExecutableKinds peKind, out System.Reflection.ImageFileMachine machine);
member this.GetPEKind : PortableExecutableKinds * ImageFileMachine -> unit
abstract member GetPEKind : PortableExecutableKinds * ImageFileMachine -> unit
override this.GetPEKind : PortableExecutableKinds * ImageFileMachine -> unit
Public Sub GetPEKind (ByRef peKind As PortableExecutableKinds, ByRef machine As ImageFileMachine)
Public Overridable Sub GetPEKind (ByRef peKind As PortableExecutableKinds, ByRef machine As ImageFileMachine)
參數
- peKind
- PortableExecutableKinds
當此方法回傳時,會組合 PortableExecutableKinds 出描述模組中程式碼性質的值。
- machine
- ImageFileMachine
當此方法回傳時,會顯示 ImageFileMachine 模組所針對的平台之一值。