1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="PortableExecutableKinds" FullName="System.Reflection.PortableExecutableKinds">
3 <TypeSignature Language="C#" Value="public enum PortableExecutableKinds" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed PortableExecutableKinds extends System.Enum" />
6 <AssemblyName>mscorlib</AssemblyName>
7 <AssemblyVersion>2.0.0.0</AssemblyVersion>
8 <AssemblyVersion>4.0.0.0</AssemblyVersion>
11 <BaseTypeName>System.Enum</BaseTypeName>
15 <AttributeName>System.Flags</AttributeName>
18 <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
22 <since version=".NET 2.0" />
24 <attribution license="cc4" from="Microsoft" modified="false" />
25 <para>To obtain this value for a module, use the <see cref="M:System.Reflection.Module.GetPEKind(System.Reflection.PortableExecutableKinds@,System.Reflection.ImageFileMachine@)" /> method.</para>
26 <block subset="none" type="note">
27 <para>This enumeration corresponds to the CorPEKind enumeration in the unmanaged reflection API, which is accessed by the unmanaged GetPEKind function.</para>
31 <attribution license="cc4" from="Microsoft" modified="false" />
32 <para>Identifies the nature of the code in an executable file.</para>
36 <Member MemberName="ILOnly">
37 <MemberSignature Language="C#" Value="ILOnly" />
38 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Reflection.PortableExecutableKinds ILOnly = int32(1)" />
39 <MemberType>Field</MemberType>
41 <AssemblyVersion>2.0.0.0</AssemblyVersion>
42 <AssemblyVersion>4.0.0.0</AssemblyVersion>
45 <ReturnType>System.Reflection.PortableExecutableKinds</ReturnType>
48 <since version=".NET 2.0" />
50 <attribution license="cc4" from="Microsoft" modified="false" />
51 <para>The executable contains only Microsoft intermediate language (MSIL), and is therefore neutral with respect to 32-bit or 64-bit platforms.</para>
55 <Member MemberName="NotAPortableExecutableImage">
56 <MemberSignature Language="C#" Value="NotAPortableExecutableImage" />
57 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Reflection.PortableExecutableKinds NotAPortableExecutableImage = int32(0)" />
58 <MemberType>Field</MemberType>
60 <AssemblyVersion>2.0.0.0</AssemblyVersion>
61 <AssemblyVersion>4.0.0.0</AssemblyVersion>
64 <ReturnType>System.Reflection.PortableExecutableKinds</ReturnType>
67 <since version=".NET 2.0" />
69 <attribution license="cc4" from="Microsoft" modified="false" />
70 <para>The file is not in portable executable (PE) file format.</para>
74 <Member MemberName="PE32Plus">
75 <MemberSignature Language="C#" Value="PE32Plus" />
76 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Reflection.PortableExecutableKinds PE32Plus = int32(4)" />
77 <MemberType>Field</MemberType>
79 <AssemblyVersion>2.0.0.0</AssemblyVersion>
80 <AssemblyVersion>4.0.0.0</AssemblyVersion>
83 <ReturnType>System.Reflection.PortableExecutableKinds</ReturnType>
86 <since version=".NET 2.0" />
88 <attribution license="cc4" from="Microsoft" modified="false" />
89 <para>The executable requires a 64-bit platform.</para>
93 <Member MemberName="Preferred32Bit">
94 <MemberSignature Language="C#" Value="Preferred32Bit" />
95 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Reflection.PortableExecutableKinds Preferred32Bit = int32(16)" />
96 <MemberType>Field</MemberType>
98 <AssemblyVersion>4.0.0.0</AssemblyVersion>
101 <ReturnType>System.Reflection.PortableExecutableKinds</ReturnType>
105 <attribution license="cc4" from="Microsoft" modified="false" />
106 <para>The executable is platform-agnostic but should be run on a 32-bit platform whenever possible.</para>
110 <Member MemberName="Required32Bit">
111 <MemberSignature Language="C#" Value="Required32Bit" />
112 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Reflection.PortableExecutableKinds Required32Bit = int32(2)" />
113 <MemberType>Field</MemberType>
115 <AssemblyVersion>2.0.0.0</AssemblyVersion>
116 <AssemblyVersion>4.0.0.0</AssemblyVersion>
119 <ReturnType>System.Reflection.PortableExecutableKinds</ReturnType>
122 <since version=".NET 2.0" />
124 <attribution license="cc4" from="Microsoft" modified="false" />
125 <para>The executable can be run on a 32-bit platform, or in the 32-bit Windows on Windows (WOW) environment on a 64-bit platform.</para>
129 <Member MemberName="Unmanaged32Bit">
130 <MemberSignature Language="C#" Value="Unmanaged32Bit" />
131 <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Reflection.PortableExecutableKinds Unmanaged32Bit = int32(8)" />
132 <MemberType>Field</MemberType>
134 <AssemblyVersion>2.0.0.0</AssemblyVersion>
135 <AssemblyVersion>4.0.0.0</AssemblyVersion>
138 <ReturnType>System.Reflection.PortableExecutableKinds</ReturnType>
141 <since version=".NET 2.0" />
143 <attribution license="cc4" from="Microsoft" modified="false" />
144 <para>The executable contains pure unmanaged code.</para>