-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_HGlobal
andrewvk edited this page Jul 1, 2016
·
4 revisions
Wraps Mashal.AllocHGlobal and Marshal.FreeHGlobal.
System.Object
System.Runtime.ConstrainedExecution.CriticalFinalizerObject
CodeJam.HGlobal
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 1.1.0.0 (1.1.0.0)
C#
[SecurityCriticalAttribute]
public class HGlobal : CriticalFinalizerObject, IDisposable
VB
<SecurityCriticalAttribute>
Public Class HGlobal
Inherits CriticalFinalizerObject
Implements IDisposable
F#
[<SecurityCriticalAttribute>]
type HGlobal =
class
inherit CriticalFinalizerObject
interface IDisposable
end
The HGlobal type exposes the following members.
Name | Description | |
---|---|---|
![]() |
HGlobal(Int32) | Allocates memory from the unmanaged memory of the process by using the specified number of bytes. |
![]() |
HGlobal(IntPtr) | Takes ownership over given pointer. |
Name | Description | |
---|---|---|
![]() |
Data | Pointer to data. |
![]() |
Length | Length |
Name | Description | |
---|---|---|
![]() |
Dispose | Dispose method to free all resources. |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Finalizer. (Overrides CriticalFinalizerObject.Finalize().) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |