Platform Platform Platform Platform Enum

Definition

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

public enum class Platform
[System.Serializable]
public enum Platform
type Platform = 
Public Enum Platform
Inheritance
Attributes

Fields

AnyCpu AnyCpu AnyCpu AnyCpu 1

The add-in is loaded into an external process with the same bits-per-word as the operating system.

ARM ARM ARM ARM 4

The add-in is loaded into a 32-bit process on an ARM processor.

Host Host Host Host 0

The add-in is loaded into an external process with the same bits-per-word as the host process.

X64 X64 X64 X64 3

The add-in is loaded into a 64-bit external process.

X86 X86 X86 X86 2

The add-in is loaded into a 32-bit external process.

Remarks

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
32-bit N/A

Applies to