Marshal+20 -32 ~20
AllocHGlobal(Int32)
AllocHGlobal(nint)
AreComObjectsAvailableForCleanup()
CleanupUnusedObjectsInCurrentContext()
CreateAggregatedObject<T>(nint, T)
CreateWrapperOfType<T, TWrapper>(T)
DestroyStructure(nint, Type)
DestroyStructure<T>(nint)
FreeHGlobal(nint)
GenerateGuidForType(Type)
GenerateProgIdForType(Type)
GetActiveObject(String)
GetComInterfaceForObject(Object, Type, CustomQueryInterfaceMode)
GetComInterfaceForObject<T, TInterface>(T)
GetComInterfaceForObjectInContext(Object, Type)
GetComObjectData(Object, Object)
GetComSlotForMethodInfo(MemberInfo)
GetDelegateForFunctionPointer<TDelegate>(nint)
GetEndComSlot(Type)
GetExceptionPointers()
GetFunctionPointerForDelegate<TDelegate>(TDelegate)
GetHINSTANCE(Module)
GetHRForLastWin32Error()
GetIDispatchForObject(Object)
GetIDispatchForObjectInContext(Object)
GetITypeInfoForType(Type)
GetIUnknownForObjectInContext(Object)
GetLastWin32Error()
GetManagedThunkForUnmanagedMethodPtr(IntPtr, IntPtr, Int32)
GetMethodInfoForComSlot(Type, Int32, ComMemberType)
GetNativeVariantForObject<T>(T, nint)
GetObjectForNativeVariant<T>(nint)
GetObjectsForNativeVariants<T>(nint, Int32)
GetThreadFromFiberCookie(Int32)
GetTypedObjectForIUnknown(nint, Type)
GetTypeForITypeInfo(IntPtr)
GetTypeFromCLSID(Guid)
GetTypeInfoName(UCOMITypeInfo)
GetTypeLibGuid(ITypeLib)
GetTypeLibGuid(UCOMITypeLib)
GetTypeLibGuidForAssembly(Assembly)
GetTypeLibLcid(ITypeLib)
GetTypeLibLcid(UCOMITypeLib)
GetTypeLibName(ITypeLib)
GetTypeLibName(UCOMITypeLib)
GetTypeLibVersionForAssembly(Assembly, Int32, Int32)
GetUnmanagedThunkForManagedMethodPtr(IntPtr, IntPtr, Int32)
IsTypeVisibleFromCom(Type)
NumParamBytes(MethodInfo)
OffsetOf<T>(String)
PtrToStructure(nint, Object)
PtrToStructure(nint, Type)
PtrToStructure<T>(nint)
PtrToStructure<T>(nint, T)
ReadInt32(nint)
ReadInt32(nint, Int32)
ReadInt32(Object, Int32)
ReadInt64(nint)
ReadInt64(nint, Int32)
ReadInt64(Object, Int32)
ReadIntPtr(nint)
ReadIntPtr(nint, Int32)
ReadIntPtr(Object, Int32)
Release(nint)
ReleaseThreadCache()
SetComObjectData(Object, Object, Object)
SizeOf(Object)
SizeOf<T>()
SizeOf<T>(T)
StructureToPtr(Object, nint, Boolean)
StructureToPtr<T>(T, nint, Boolean)
UnsafeAddrOfPinnedArrayElement<T>(T[], Int32)
netstandard2.0
namespace System.Runtime.InteropServices
{
[SuppressUnmanagedCodeSecurity]
public static class Marshal
}
NetFx Compat Lab | 77.0 % Reference this API |
---|---|
nuget.org | 7.2 % Reference this API 0.6 % Read field 0.0 % Write field |
Upgrade Planner | 9.1 % Reference this API |
Design Reviews |
|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 1.01.12.02.12.23.03.1 |
.NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 1.11.21.31.41.51.62.02.1 |
Information specific to netstandard2.0 | |
Assembly | netstandard , Version=2.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API