C# Class System.Runtime.InteropServices.DllImportAttribute

Inheritance: Attribute
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
BestFitMapping bool
CallingConvention CallingConvention
CharSet CharSet
EntryPoint String
ExactSpelling bool
PreserveSig bool
SetLastError bool
ThrowOnUnmappableChar bool

Public Methods

Method Description
DllImportAttribute ( String dllName ) : System

Private Methods

Method Description
DllImportAttribute ( string dllName, string entryPoint, CharSet charSet, bool exactSpelling, bool setLastError, bool preserveSig, CallingConvention callingConvention, bool bestFitMapping, bool throwOnUnmappableChar ) : System
GetCustomAttribute ( RuntimeMethodInfo method ) : Attribute
IsDefined ( RuntimeMethodInfo method ) : bool

Method Details

DllImportAttribute() public method

public DllImportAttribute ( String dllName ) : System
dllName String
return System

Property Details

BestFitMapping public property

public bool BestFitMapping
return bool

CallingConvention public property

public CallingConvention CallingConvention
return CallingConvention

CharSet public property

public CharSet CharSet
return CharSet

EntryPoint public property

public String EntryPoint
return String

ExactSpelling public property

public bool ExactSpelling
return bool

PreserveSig public property

public bool PreserveSig
return bool

SetLastError public property

public bool SetLastError
return bool

ThrowOnUnmappableChar public property

public bool ThrowOnUnmappableChar
return bool