ILNumerics Ultimate VS

MemoryHandle Class

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Inheritance Hierarchy

SystemObject
  System.Runtime.ConstrainedExecutionCriticalFinalizerObject
    System.Runtime.InteropServicesCriticalHandle
      ILNumerics.Core.MemoryLayerMemoryHandle
        ILNumerics.Core.MemoryLayerManagedHostHandleT
        ILNumerics.Core.MemoryLayerNativeHostHandle

Namespace:  ILNumerics.Core.MemoryLayer
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public abstract class MemoryHandle : CriticalHandle

The MemoryHandle type exposes the following members.

Constructors

  NameDescription
Protected methodMemoryHandle
Initializes a new instance of the MemoryHandle class
Top
Properties

  NameDescription
Public propertyIsInvalid
Determine if this handle is a valid handle.

[ILNumerics Core Module]

(Overrides CriticalHandleIsInvalid.)
Public propertyLength
Number of bytes referenced by this handle.

[ILNumerics Core Module]

Public propertyPointer
Top
Methods

  NameDescription
Public methodClear
Clears the memory of this handle, set all bytes to 0.

[ILNumerics Core Module]

Public methodClone
Returns a new memory handle of the same type with a shallow copy of all elements of this handle.

[ILNumerics Core Module]

Public methodCopyTo
Copy memory.

[ILNumerics Core Module]

Protected methodDispose
Attempt to dispose this handle, releasing the resource the handle is referencing.

[ILNumerics Core Module]

(Overrides CriticalHandleDispose(Boolean).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Protected methodReleaseHandle (Overrides CriticalHandleReleaseHandle.)
Protected methodReleaseHandle(IntPtr)
Public methodSet
Top
See Also

Reference