The methods of System.Runtime.InteropServices.Marshal are listed below. For a list of all members, see the Marshal Members list.
See Also: Inherited members from System.Object
staticAddRef(IntPtr) : int Documentation for this section has not yet been entered. staticAllocCoTaskMem(int) : IntPtr Documentation for this section has not yet been entered. staticAllocHGlobal(int) : IntPtr Documentation for this section has not yet been entered. staticAllocHGlobal(IntPtr) : IntPtr Documentation for this section has not yet been entered. staticBindToMoniker(string) : object Documentation for this section has not yet been entered. staticChangeWrapperHandleStrength(object, bool) Documentation for this section has not yet been entered. staticCopy(byte[], int, IntPtr, int) Documentation for this section has not yet been entered. staticCopy(char[], int, IntPtr, int) Documentation for this section has not yet been entered. staticCopy(double[], int, IntPtr, int) Documentation for this section has not yet been entered. staticCopy(short[], int, IntPtr, int) Documentation for this section has not yet been entered. staticCopy(int[], int, IntPtr, int) Documentation for this section has not yet been entered. staticCopy(long[], int, IntPtr, int) Documentation for this section has not yet been entered. staticCopy(IntPtr, byte[], int, int) Documentation for this section has not yet been entered. staticCopy(IntPtr, char[], int, int) Documentation for this section has not yet been entered. staticCopy(IntPtr, double[], int, int) Documentation for this section has not yet been entered. staticCopy(IntPtr, short[], int, int) Documentation for this section has not yet been entered. staticCopy(IntPtr, int[], int, int) Documentation for this section has not yet been entered. staticCopy(IntPtr, long[], int, int) Documentation for this section has not yet been entered. staticCopy(IntPtr, IntPtr[], int, int) Documentation for this section has not yet been entered. staticCopy(IntPtr, float[], int, int) Documentation for this section has not yet been entered. staticCopy(IntPtr[], int, IntPtr, int) Documentation for this section has not yet been entered. staticCopy(float[], int, IntPtr, int) Documentation for this section has not yet been entered. staticCreateAggregatedObject(IntPtr, object) : IntPtr Documentation for this section has not yet been entered. staticCreateWrapperOfType(object, Type) : object Documentation for this section has not yet been entered. staticDestroyStructure(IntPtr, Type) Documentation for this section has not yet been entered. staticFinalReleaseComObject(object) : int Documentation for this section has not yet been entered. staticFreeBSTR(IntPtr) Documentation for this section has not yet been entered. staticFreeCoTaskMem(IntPtr) Documentation for this section has not yet been entered. staticFreeHGlobal(IntPtr) Documentation for this section has not yet been entered. staticGenerateGuidForType(Type) : Guid Documentation for this section has not yet been entered. staticGenerateProgIdForType(Type) : string Documentation for this section has not yet been entered. staticGetActiveObject(string) : object Documentation for this section has not yet been entered. staticGetComInterfaceForObject(object, Type) : IntPtr Documentation for this section has not yet been entered. staticGetComInterfaceForObjectInContext(object, Type) : IntPtr Documentation for this section has not yet been entered. staticGetComObjectData(object, object) : object Documentation for this section has not yet been entered. staticGetComSlotForMethodInfo(System.Reflection.MemberInfo) : int Documentation for this section has not yet been entered. staticGetDelegateForFunctionPointer(IntPtr, Type) : Delegate Documentation for this section has not yet been entered. staticGetEndComSlot(Type) : int Documentation for this section has not yet been entered. staticGetExceptionCode() : int Documentation for this section has not yet been entered. staticGetExceptionForHR(int) : Exception Documentation for this section has not yet been entered. staticGetExceptionForHR(int, IntPtr) : Exception Documentation for this section has not yet been entered. staticGetExceptionPointers() : IntPtr Documentation for this section has not yet been entered. staticGetFunctionPointerForDelegate(Delegate) : IntPtr Documentation for this section has not yet been entered. staticGetHINSTANCE(System.Reflection.Module) : IntPtr Documentation for this section has not yet been entered. staticGetHRForException(Exception) : int Documentation for this section has not yet been entered. staticGetHRForLastWin32Error() : int Documentation for this section has not yet been entered. staticGetIDispatchForObject(object) : IntPtr Documentation for this section has not yet been entered. staticGetIDispatchForObjectInContext(object) : IntPtr Documentation for this section has not yet been entered. staticGetITypeInfoForType(Type) : IntPtr Documentation for this section has not yet been entered. staticGetIUnknownForObject(object) : IntPtr Documentation for this section has not yet been entered. staticGetIUnknownForObjectInContext(object) : IntPtr Documentation for this section has not yet been entered. staticGetLastWin32Error() : int Documentation for this section has not yet been entered. staticGetManagedThunkForUnmanagedMethodPtr(IntPtr, IntPtr, int) : IntPtr Documentation for this section has not yet been entered. staticGetMethodInfoForComSlot(Type, int, ref ComMemberType) : System.Reflection.MemberInfo Documentation for this section has not yet been entered. staticGetNativeVariantForObject(object, IntPtr) Documentation for this section has not yet been entered. staticGetObjectForIUnknown(IntPtr) : object Documentation for this section has not yet been entered. staticGetObjectForNativeVariant(IntPtr) : object Documentation for this section has not yet been entered. staticGetObjectsForNativeVariants(IntPtr, int) : object[] Documentation for this section has not yet been entered. staticGetStartComSlot(Type) : int Documentation for this section has not yet been entered. staticGetThreadFromFiberCookie(int) : System.Threading.Thread Documentation for this section has not yet been entered. staticGetTypedObjectForIUnknown(IntPtr, Type) : object Documentation for this section has not yet been entered. staticGetTypeForITypeInfo(IntPtr) : Type Documentation for this section has not yet been entered. staticGetTypeInfoName(System.Runtime.InteropServices.ComTypes.ITypeInfo) : string Documentation for this section has not yet been entered. staticGetTypeInfoName(UCOMITypeInfo) : string Documentation for this section has not yet been entered. staticGetTypeLibGuid(System.Runtime.InteropServices.ComTypes.ITypeLib) : Guid Documentation for this section has not yet been entered. staticGetTypeLibGuid(UCOMITypeLib) : Guid Documentation for this section has not yet been entered. staticGetTypeLibGuidForAssembly(System.Reflection.Assembly) : Guid Documentation for this section has not yet been entered. staticGetTypeLibLcid(System.Runtime.InteropServices.ComTypes.ITypeLib) : int Documentation for this section has not yet been entered. staticGetTypeLibLcid(UCOMITypeLib) : int Documentation for this section has not yet been entered. staticGetTypeLibName(System.Runtime.InteropServices.ComTypes.ITypeLib) : string Documentation for this section has not yet been entered. staticGetTypeLibName(UCOMITypeLib) : string Documentation for this section has not yet been entered. staticGetTypeLibVersionForAssembly(System.Reflection.Assembly, out int, out int) Documentation for this section has not yet been entered. staticGetUniqueObjectForIUnknown(IntPtr) : object Documentation for this section has not yet been entered. staticGetUnmanagedThunkForManagedMethodPtr(IntPtr, IntPtr, int) : IntPtr Documentation for this section has not yet been entered. staticIsComObject(object) : bool Documentation for this section has not yet been entered. staticIsTypeVisibleFromCom(Type) : bool Documentation for this section has not yet been entered. staticNumParamBytes(System.Reflection.MethodInfo) : int Documentation for this section has not yet been entered. staticOffsetOf(Type, string) : IntPtr Documentation for this section has not yet been entered. staticPrelink(System.Reflection.MethodInfo) Documentation for this section has not yet been entered. staticPrelinkAll(Type) Documentation for this section has not yet been entered. staticPtrToStringAnsi(IntPtr) : string Documentation for this section has not yet been entered. staticPtrToStringAnsi(IntPtr, int) : string Documentation for this section has not yet been entered. staticPtrToStringAuto(IntPtr) : string Documentation for this section has not yet been entered. staticPtrToStringAuto(IntPtr, int) : string Documentation for this section has not yet been entered. staticPtrToStringBSTR(IntPtr) : string Documentation for this section has not yet been entered. staticPtrToStringUni(IntPtr) : string Documentation for this section has not yet been entered. staticPtrToStringUni(IntPtr, int) : string Documentation for this section has not yet been entered. staticPtrToStructure(IntPtr, object) Documentation for this section has not yet been entered. staticPtrToStructure(IntPtr, Type) : object Documentation for this section has not yet been entered. staticQueryInterface(IntPtr, ref Guid, out IntPtr) : int Documentation for this section has not yet been entered. staticReadByte(IntPtr) : byte Documentation for this section has not yet been entered. staticReadByte(IntPtr, int) : byte Documentation for this section has not yet been entered. staticReadByte(object, int) : byte Documentation for this section has not yet been entered. staticReadInt16(IntPtr) : short Documentation for this section has not yet been entered. staticReadInt16(IntPtr, int) : short Documentation for this section has not yet been entered. staticReadInt16(object, int) : short Documentation for this section has not yet been entered. staticReadInt32(IntPtr) : int Documentation for this section has not yet been entered. staticReadInt32(IntPtr, int) : int Documentation for this section has not yet been entered. staticReadInt32(object, int) : int Documentation for this section has not yet been entered. staticReadInt64(IntPtr) : long Documentation for this section has not yet been entered. staticReadInt64(IntPtr, int) : long Documentation for this section has not yet been entered. staticReadInt64(object, int) : long Documentation for this section has not yet been entered. staticReadIntPtr(IntPtr) : IntPtr Documentation for this section has not yet been entered. staticReadIntPtr(IntPtr, int) : IntPtr Documentation for this section has not yet been entered. staticReadIntPtr(object, int) : IntPtr Documentation for this section has not yet been entered. staticReAllocCoTaskMem(IntPtr, int) : IntPtr Documentation for this section has not yet been entered. staticReAllocHGlobal(IntPtr, IntPtr) : IntPtr Documentation for this section has not yet been entered. staticRelease(IntPtr) : int Documentation for this section has not yet been entered. staticReleaseComObject(object) : int Documentation for this section has not yet been entered. staticReleaseThreadCache() Documentation for this section has not yet been entered. staticSecureStringToBSTR(System.Security.SecureString) : IntPtr Documentation for this section has not yet been entered. staticSecureStringToCoTaskMemAnsi(System.Security.SecureString) : IntPtr Documentation for this section has not yet been entered. staticSecureStringToCoTaskMemUnicode(System.Security.SecureString) : IntPtr Documentation for this section has not yet been entered. staticSecureStringToGlobalAllocAnsi(System.Security.SecureString) : IntPtr Documentation for this section has not yet been entered. staticSecureStringToGlobalAllocUnicode(System.Security.SecureString) : IntPtr Documentation for this section has not yet been entered. staticSetComObjectData(object, object, object) : bool Documentation for this section has not yet been entered. staticSizeOf(object) : int Documentation for this section has not yet been entered. staticSizeOf(Type) : int Documentation for this section has not yet been entered. staticStringToBSTR(string) : IntPtr Documentation for this section has not yet been entered. staticStringToCoTaskMemAnsi(string) : IntPtr Documentation for this section has not yet been entered. staticStringToCoTaskMemAuto(string) : IntPtr Documentation for this section has not yet been entered. staticStringToCoTaskMemUni(string) : IntPtr Documentation for this section has not yet been entered. staticStringToHGlobalAnsi(string) : IntPtr Documentation for this section has not yet been entered. staticStringToHGlobalAuto(string) : IntPtr Documentation for this section has not yet been entered. staticStringToHGlobalUni(string) : IntPtr Documentation for this section has not yet been entered. staticStructureToPtr(object, IntPtr, bool) Documentation for this section has not yet been entered. staticThrowExceptionForHR(int) Documentation for this section has not yet been entered. staticThrowExceptionForHR(int, IntPtr) Documentation for this section has not yet been entered. staticUnsafeAddrOfPinnedArrayElement(Array, int) : IntPtr Documentation for this section has not yet been entered. staticWriteByte(IntPtr, byte) Documentation for this section has not yet been entered. staticWriteByte(IntPtr, int, byte) Documentation for this section has not yet been entered. staticWriteByte(object, int, byte) Documentation for this section has not yet been entered. staticWriteInt16(IntPtr, char) Documentation for this section has not yet been entered. staticWriteInt16(IntPtr, short) Documentation for this section has not yet been entered. staticWriteInt16(IntPtr, int, char) Documentation for this section has not yet been entered. staticWriteInt16(IntPtr, int, short) Documentation for this section has not yet been entered. staticWriteInt16(object, int, char) Documentation for this section has not yet been entered. staticWriteInt16(object, int, short) Documentation for this section has not yet been entered. staticWriteInt32(IntPtr, int) Documentation for this section has not yet been entered. staticWriteInt32(IntPtr, int, int) Documentation for this section has not yet been entered. staticWriteInt32(object, int, int) Documentation for this section has not yet been entered. staticWriteInt64(IntPtr, long) Documentation for this section has not yet been entered. staticWriteInt64(IntPtr, int, long) Documentation for this section has not yet been entered. staticWriteInt64(object, int, long) Documentation for this section has not yet been entered. staticWriteIntPtr(IntPtr, IntPtr) Documentation for this section has not yet been entered. staticWriteIntPtr(IntPtr, int, IntPtr) Documentation for this section has not yet been entered. staticWriteIntPtr(object, int, IntPtr) Documentation for this section has not yet been entered. staticZeroFreeBSTR(IntPtr) Documentation for this section has not yet been entered. staticZeroFreeCoTaskMemAnsi(IntPtr) Documentation for this section has not yet been entered. staticZeroFreeCoTaskMemUnicode(IntPtr) Documentation for this section has not yet been entered. staticZeroFreeGlobalAllocAnsi(IntPtr) Documentation for this section has not yet been entered. staticZeroFreeGlobalAllocUnicode(IntPtr) Documentation for this section has not yet been entered.