Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Runtime.​InteropServices.​Marshal

Assembly: System.Runtime.InteropServices

Inheritance: object → Marshal

Provides a collection of methods for allocating unmanaged memory, copying unmanaged memory blocks, and converting managed to unmanaged types, as well as other miscellaneous methods used when interacting with unmanaged code.

Fields and Constants

public static readonly int
SystemDefaultCharSize
Represents the default character size on the system; the default is 2 for Unicode systems and 1 for ANSI systems. This field is read-only.
public static readonly int
SystemMaxDBCSCharSize
Represents the maximum size of a double byte character set (DBCS) size, in bytes, for the current operating system. This field is read-only.

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object