Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Enum

NativeType

enum NativeType

Module: System.Runtime.InteropServices
Assembly: System.Runtime.dll
Source file: NativeImportAttribute.rvn

Inheritance: Object → ValueType → Enum → NativeType

Explicit native representations supported by parameter and result marshalling.

Constants

4 items
Static member: Bool32: NativeType Four-byte integer boolean; inputs are zero or one, every nonzero result is true.
Static member: Bool8: NativeType One-byte integer boolean; inputs are zero or one, every nonzero result is true.
Static member: Utf16: NativeType Terminated native-endian UTF-16 input String.
Static member: Utf8: NativeType Terminated UTF-8 input String.

Fields

1 item
value__: int No summary available.

Methods

4 items
Equals(other: object?) -> bool Tests reference identity by default; an ordinary class may override equality. Inherited from Object.Equals
GetHashCode() -> int Returns a stable identity hash by default; an ordinary class may override it consistently with equality. Inherited from Object.GetHashCode
GetType() -> TypeInfo Returns metadata for the concrete runtime type of this instance. Inherited from Object.GetType
ToString() -> string Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override. Inherited from Object.ToString