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.
Namespace:
?
System.Runtime.InteropServices
Assembly:
?
mscorlib (in mscorlib.dll)
Syntax
Visual Basic (Declaration) |
---|
Public NotInheritable Class Marshal |
C# |
---|
public sealed class Marshal |
Visual C++ |
---|
public ref class Marshal sealed |
JavaScript |
---|
System.Runtime.InteropServices.Marshal = function();
Type.createClass(
'System.Runtime.InteropServices.Marshal'); |
Inheritance Hierarchy
See Also