Click or drag to resize

DllImportData Class



Information that describes how a method from the underlying Platform is to be invoked.
Inheritance Hierarchy
SystemObject
  Microsoft.CodeAnalysisDllImportData

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class DllImportData

The DllImportData type exposes the following members.

Properties
  NameDescription
Public propertyBestFitMapping
Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters. Null if not specified (the setting for the containing type or assembly should be used, BestFitMappingAttribute).
Public propertyCallingConvention
Indicates the calling convention of an entry point.
Public propertyCharacterSet
Indicates how to marshal string parameters and controls name mangling.
Public propertyEntryPointName
Name of the native entry point or null if not specified (the effective name is the same as the name of the target method).
Public propertyExactSpelling
Controls whether the CharacterSet field causes the common language runtime to search an unmanaged DLL for entry-point names other than the one specified.
Public propertyModuleName
Module name. Null if value specified in the attribute is not valid.
Public propertySetLastError
Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method.
Public propertyThrowOnUnmappableCharacter
Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character. Null if not specified.
Top
See Also