Interop.DllImportPortableAttribute
TECIT.TBarCode.Interop.DllImportPortableAttribute
Base types: Attribute
A wrapper around DllImportAttribute which loads a DLL on Windows and a shared library on Linux, depending on which system the code is currently execute.
Constructors
| Name | Description |
|---|---|
| DllImportPortableAttribute | Constructs a new DllImportPortableAttribute, and sets us up to use all default values. |
Properties
| Name | Description |
|---|---|
| CallingConvention | Gets or sets the value of the DllImportAttribute.CallingConvention that we use. |
| CallingConventionSpecified | Gets a value which indicates whether we've actually specified a value for CallingConvention or whether we're just going to use the default. |
| CallingConventionUnix | Gets or sets the value of the CallingConventionUnix that we use. |
| CallingConventionUnixSpecified | Gets a value which indicates whether we've actually specified a value for CallingConventionUnix or whether we're just going to use the default. |
| CharSet | Gets or sets the CharSet we set on the DllImportAttribute. |
| CharSetSpecified | Gets a value which indicates whether we've actually specified a value for CharSet or whether we just use the default. |
| CharSetUnix | Gets or sets the CharSetUnix we set on the DllImportAttribute. |
| CharSetUnixSpecified | Gets a value which indicates whether we've actually specified a value for CharSetUnix or whether we just use the default. |
| EntryPoint | Gets or sets the entry point of the function this DllImportPortableAttribute should be applied to. |
| EntryPointUnix | Gets or sets the entry point of the function this DllImportPortableAttribute should be applied to. |
| ExactSpelling | Gets or sets the value we specify for the DllImportAttribute.ExactSpelling property. |
| ExactSpellingSpecified | Gets a value which indicates whether we've actually specified a value for ExactSpelling or whether we're just going to use the default. |
| PreserveSig | Gets or sets the value we specify for the DllImportAttribute.PreserveSig property. |
| PreserveSigSpecified | Gets a value which indicates whether we've actually specified a value for PreserveSig or whether we're just going to use the default. |
| SetLastError | Gets or sets the value we specify for the DllImportAttribute.SetLastError property. |
| SetLastErrorSpecified | Gets a value which indicates whether we've actually specified a value for SetLastError or whether we're just going to use the default. |