Export (0) Print
Expand All

DllImportAttribute Fields

The DllImportAttribute type exposes the following members.

  Name Description
Public field Supported by Portable Class Library BestFitMapping Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.
Public field Supported by the XNA Framework Supported by Portable Class Library CallingConvention Indicates the calling convention of an entry point.
Public field Supported by the XNA Framework Supported by Portable Class Library CharSet Indicates how to marshal string parameters to the method and controls name mangling.
Public field Supported by the XNA Framework Supported by Portable Class Library EntryPoint Indicates the name or ordinal of the DLL entry point to be called.
Public field Supported by Portable Class Library 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.
Public field Supported by the XNA Framework Supported by Portable Class Library PreserveSig Indicates whether unmanaged methods that have HRESULT or retval return values are directly translated or whether HRESULT or retval return values are automatically converted to exceptions.
Public field Supported by the XNA Framework Supported by Portable Class Library SetLastError Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method.
Public field Supported by Portable Class Library ThrowOnUnmappableChar Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.
Top
Show:
© 2015 Microsoft