DllImportAttribute Fields
.NET Framework 1.1
The fields of the DllImportAttribute class are listed here. For a complete list of DllImportAttribute class members, see the DllImportAttribute Members topic.
Public Fields
BestFitMapping | Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters. |
CallingConvention Supported by the .NET Compact Framework. | Indicates the calling convention of an entry point. |
CharSet Supported by the .NET Compact Framework. | Indicates how to marshal string parameters to the method and controls name mangling. |
EntryPoint Supported by the .NET Compact Framework. | Indicates the name or ordinal of the DLL entry point to be called. |
ExactSpelling | Controls whether the DllImportAttribute.CharSet field causes the common language runtime to search an unmanaged DLL for entry-point names other than the one specified. |
PreserveSig | Indicates whether the signature is a direct translation of the unmanaged entry point. |
SetLastError Supported by the .NET Compact Framework. | Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method. |
ThrowOnUnmappableChar | Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI '?' character. |
See Also
DllImportAttribute Class | System.Runtime.InteropServices Namespace
