ArcObjects Library Reference  (System)    

IMemoryBlobStream.AttachToMemory Method

Attaches the stream to memory. If transferOwnership is true, memory must be allocated with HeapAlloc() using GetProcessHeap().

[Visual Basic 6.0]
Sub AttachToMemory(
    blobMemory As Byte, _
    ByVal Size As Empty, _
    ByVal transferOwnership As Long _
[Visual Basic .NET]
Public Sub AttachToMemory ( _
    ByRef blobMemory As Byte&, _
    ByVal Size As Integer, _
    ByVal transferOwnership As Integer _
public void AttachToMemory (
    ref Byte& blobMemory,
    ref uint Size,
    ref int transferOwnership
public void attachToMemory (
    Byte& blobMemory,
    uint Size,
    int transferOwnership
HRESULT AttachToMemory(
  Byte* blobMemory,
  Unsigned long Size,
  long transferOwnership


blobMemory [in]

  blobMemory is a parameter of type Byte


  Size is a parameter of type Unsigned long


  transferOwnership is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMemoryBlobStream Interface