-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_HGlobalScope_1
Andrew Koryavchenko edited this page Jun 17, 2018
·
3 revisions
Wraps Mashal.AllocHGlobal and Marshal.FreeHGlobal using generic.
System.Object
System.Runtime.ConstrainedExecution.CriticalFinalizerObject
CodeJam.HGlobalScope
CodeJam.HGlobalScope(T)
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
[SecurityCriticalAttribute]
public class HGlobalScope<T> : HGlobalScope
where T : struct, new()
VB
<SecurityCriticalAttribute>
Public Class HGlobalScope(Of T As {Structure, New})
Inherits HGlobalScope
F#
[<SecurityCriticalAttribute>]
type HGlobalScope<'T when 'T : struct, new()> =
class
inherit HGlobalScope
end
- T
- [Missing documentation for "T:CodeJam.HGlobalScope`1"]
Name | Description | |
---|---|---|
HGlobalScope(T)() | Default constructor, allocates memory with the size of T | |
HGlobalScope(T)(Int32) | Allocates memory from the unmanaged memory of the process by using the specified number of bytes. |
Name | Description | |
---|---|---|
Data | Pointer to data. (Inherited from HGlobalScope.) | |
Length | Length (Inherited from HGlobalScope.) | |
Value | Value |
Name | Description | |
---|---|---|
Dispose | Dispose method to free all resources. (Inherited from HGlobalScope.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Finalizer. (Inherited from HGlobalScope.) | |
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.) |