Specifies the bits-per-word of the process in which an out-of-process add-in is run.
public enum Platform
Member name Description AnyCpu The add-in is loaded into an external process with the same bits-per-word as the operating system. ARM The add-in is loaded into a 32-bit process on an ARM processor. Host The add-in is loaded into an external process with the same bits-per-word as the host process. X64 The add-in is loaded into a 64-bit external process. X86 The add-in is loaded into a 32-bit external process.
The following table shows how the enumeration value affects the bits-per-word of the process on different operating systems:
32-bit operating system
64-bit operating system
Same as host process
Exception is thrown
Supported in: 4.5, 4
.NET Framework Client Profile
Supported in: 4
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.