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

NameDescription
DllImportPortableAttributeConstructs a new DllImportPortableAttribute, and sets us up to use all default values.

Properties

NameDescription
CallingConventionGets or sets the value of the DllImportAttribute.CallingConvention that we use.
CallingConventionSpecifiedGets a value which indicates whether we've actually specified a value for CallingConvention or whether we're just going to use the default.
CallingConventionUnixGets or sets the value of the CallingConventionUnix that we use.
CallingConventionUnixSpecifiedGets a value which indicates whether we've actually specified a value for CallingConventionUnix or whether we're just going to use the default.
CharSetGets or sets the CharSet we set on the DllImportAttribute.
CharSetSpecifiedGets a value which indicates whether we've actually specified a value for CharSet or whether we just use the default.
CharSetUnixGets or sets the CharSetUnix we set on the DllImportAttribute.
CharSetUnixSpecifiedGets a value which indicates whether we've actually specified a value for CharSetUnix or whether we just use the default.
EntryPointGets or sets the entry point of the function this DllImportPortableAttribute should be applied to.
EntryPointUnixGets or sets the entry point of the function this DllImportPortableAttribute should be applied to.
ExactSpellingGets or sets the value we specify for the DllImportAttribute.ExactSpelling property.
ExactSpellingSpecifiedGets a value which indicates whether we've actually specified a value for ExactSpelling or whether we're just going to use the default.
PreserveSigGets or sets the value we specify for the DllImportAttribute.PreserveSig property.
PreserveSigSpecifiedGets a value which indicates whether we've actually specified a value for PreserveSig or whether we're just going to use the default.
SetLastErrorGets or sets the value we specify for the DllImportAttribute.SetLastError property.
SetLastErrorSpecifiedGets a value which indicates whether we've actually specified a value for SetLastError or whether we're just going to use the default.

Search documentation

Search in
More scopes
Additional scopes

All contents