This documentation is archived and is not being maintained.

Platform Enumeration

Specifies the bits-per-word of the process in which an out-of-process add-in is run.

Namespace:  System.AddIn.Hosting
Assembly:  System.AddIn (in System.AddIn.dll)

[SerializableAttribute]
public enum class Platform

Member nameDescription
HostThe add-in is loaded into an external process with the same bits-per-word as the host process.
AnyCpuThe add-in is loaded into an external process with the same bits-per-word as the operating system.
X86The add-in is loaded into a 32-bit external process.
X64The add-in is loaded into a 64-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

Host

32-bit

Same as host process

AnyCPU

32-bit

64-bit

X86

32-bit

32-bit

X64

Exception is thrown

64-bit

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: