ModuleBuilder.GetPEKind(PortableExecutableKinds, ImageFileMachine) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一对值,该值指示模块中的代码的性质以及模块面向的平台。
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.NotAPortableExecutableImage 为 machine 0(零)。