Header menu logo F# Compiler Guide

ILNativeType Type

Native Types, for marshalling to the native C interface. These are taken directly from the ILASM syntax. Most of these are listed in the CLI ECMA-335 Spec (Partition II, 7.4).

Union cases

Union case Description

ANSIBSTR

Full Usage: ANSIBSTR

Array(ILNativeType option, (int32 * int32 option) option)

Full Usage: Array(ILNativeType option, (int32 * int32 option) option)

Parameters:
    Item1 : ILNativeType option
    Item2 : (int32 * int32 option) option

optional idx of parameter giving size plus optional additive i.e. num elems

Item1 : ILNativeType option
Item2 : (int32 * int32 option) option

AsAny

Full Usage: AsAny

BSTR

Full Usage: BSTR

Bool

Full Usage: Bool

ByValStr

Full Usage: ByValStr

Byte

Full Usage: Byte

Currency

Full Usage: Currency

Custom(ILGuid, nativeTypeName, custMarshallerName, cookieString)

Full Usage: Custom(ILGuid, nativeTypeName, custMarshallerName, cookieString)

Parameters:
    Item1 : ILGuid
    nativeTypeName : string
    custMarshallerName : string
    cookieString : byte[]

Item1 : ILGuid
nativeTypeName : string
custMarshallerName : string
cookieString : byte[]

Double

Full Usage: Double

Empty

Full Usage: Empty

Error

Full Usage: Error

FixedArray int32

Full Usage: FixedArray int32

Parameters:
    Item : int32

Item : int32

FixedSysString int32

Full Usage: FixedSysString int32

Parameters:
    Item : int32

Item : int32

IDispatch

Full Usage: IDispatch

IUnknown

Full Usage: IUnknown

Int

Full Usage: Int

Int16

Full Usage: Int16

Int32

Full Usage: Int32

Int64

Full Usage: Int64

Int8

Full Usage: Int8

Interface

Full Usage: Interface

LPSTR

Full Usage: LPSTR

LPSTRUCT

Full Usage: LPSTRUCT

LPTSTR

Full Usage: LPTSTR

LPUTF8STR

Full Usage: LPUTF8STR

LPWSTR

Full Usage: LPWSTR

Method

Full Usage: Method

SafeArray(ILNativeVariant, string option)

Full Usage: SafeArray(ILNativeVariant, string option)

Parameters:
Item1 : ILNativeVariant
Item2 : string option

Single

Full Usage: Single

Struct

Full Usage: Struct

TBSTR

Full Usage: TBSTR

UInt

Full Usage: UInt

UInt16

Full Usage: UInt16

UInt32

Full Usage: UInt32

UInt64

Full Usage: UInt64

VariantBool

Full Usage: VariantBool

Void

Full Usage: Void

Type something to start searching.