System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute Members

The members of System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Initializes a new instance of the System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute class with the specified calling convention.

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.

Public Properties

[read-only]
CallingConventionCallingConvention.

Gets the value of the calling convention.