ModuleBuilder.GetPEKind(PortableExecutableKinds, ImageFileMachine) 方法

定义

获取一对值,该值指示模块中的代码的性质以及模块面向的平台。

public:
 override void GetPEKind([Runtime::InteropServices::Out] System::Reflection::PortableExecutableKinds % peKind, [Runtime::InteropServices::Out] System::Reflection::ImageFileMachine % machine);
public override void GetPEKind(out System.Reflection.PortableExecutableKinds peKind, out System.Reflection.ImageFileMachine machine);
override this.GetPEKind : PortableExecutableKinds * ImageFileMachine -> unit
Public Overrides Sub GetPEKind (ByRef peKind As PortableExecutableKinds, ByRef machine As ImageFileMachine)

参数

peKind
PortableExecutableKinds

此方法返回时,表示模块中代码的性质的值的组合 PortableExecutableKinds

machine
ImageFileMachine

此方法返回时,指示模块面向的平台之 ImageFileMachine 一的值。

注解

对于动态模块, peKind 始终 PortableExecutableKinds.NotAPortableExecutableImagemachine 0(零)。

适用于