System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute: Field Members

The fields of System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute are listed below. For a list of all members, see the UnmanagedFunctionPointerAttribute Members list.

See Also: Inherited members from System.Attribute

Public Fields

BestFitMappingbool.

Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.

CharSetCharSet.

Indicates how to marshal string parameters to the method, and controls name mangling.

SetLastErrorbool.

Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method.

ThrowOnUnmappableCharbool.

Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.