Module.GetPEKind(PortableExecutableKinds, ImageFileMachine) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一对值,该值指示模块中的代码的性质以及模块面向的平台。
public:
virtual void GetPEKind([Runtime::InteropServices::Out] System::Reflection::PortableExecutableKinds % peKind, [Runtime::InteropServices::Out] System::Reflection::ImageFileMachine % machine);
public:
void GetPEKind([Runtime::InteropServices::Out] System::Reflection::PortableExecutableKinds % peKind, [Runtime::InteropServices::Out] System::Reflection::ImageFileMachine % machine);
public virtual void GetPEKind(out System.Reflection.PortableExecutableKinds peKind, out System.Reflection.ImageFileMachine machine);
public void GetPEKind(out System.Reflection.PortableExecutableKinds peKind, out System.Reflection.ImageFileMachine machine);
abstract member GetPEKind : PortableExecutableKinds * ImageFileMachine -> unit
override this.GetPEKind : PortableExecutableKinds * ImageFileMachine -> unit
member this.GetPEKind : PortableExecutableKinds * ImageFileMachine -> unit
Public Overridable Sub GetPEKind (ByRef peKind As PortableExecutableKinds, ByRef machine As ImageFileMachine)
Public Sub GetPEKind (ByRef peKind As PortableExecutableKinds, ByRef machine As ImageFileMachine)
参数
- peKind
- PortableExecutableKinds
此方法返回时,表示模块中代码的性质的值的组合 PortableExecutableKinds 。
- machine
- ImageFileMachine
此方法返回时,指示模块面向的平台之 ImageFileMachine 一的值。