AFPlugIn.LoadProperties Enumeration
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
This enumeration specifies the properties for loading the assembly containing the AFPlugIn.
Namespace: OSIsoft.AF
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
[FlagsAttribute] public enum LoadProperties
<FlagsAttribute> Public Enumeration LoadProperties Dim instance As AFPlugIn.LoadProperties
[FlagsAttribute] public enum class LoadProperties
[<FlagsAttribute>] type LoadProperties
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | There are no properties specified for loading the assembly containing the AFPlugIn. | |
| x86 | 1 | The assembly containing the AFPlugIn will only load in a 32-bit application. | |
| x64 | 2 | The assembly containing the AFPlugIn will only load in a 64-bit application. | |
| NET4 | 4 | The assembly containing the AFPlugIn was built using the .NET 4 version of the common language runtime (CLR). | |
| SDK_NET4 | 8 | The assembly containing the AFPlugIn requires the .NET 4 version of the AF SDK. | |
| NET8 | 16 | The assembly containing the AFPlugIn was built using the .NET 8 version of the common language runtime (CLR). | |
| Default | 7 | The default load properties used when loading a support assembly for the AFPlugIn. |
Remarks
This enumeration is a set of flags that indicate the properties for loading the assembly containing
the AFPlugIn. If more than one property is specified, then a version of the assembly
exists that will support each of the specified property. For example, if both x86
and x64 are specified, then two versions of the assembly containing the
AFPlugIn are registered. One version will load in a 32-bit application and the other
will load in a 64-bit application.