This document is archived and information here might be outdated.  Recommended version.


IMemoryBlobStream.AttachToMemory Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IM > IMemoryBlobStream Interface > IMemoryBlobStream.AttachToMemory Method
ArcGIS Developer Help

IMemoryBlobStream.AttachToMemory Method

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

[Visual Basic .NET]
Public Sub AttachToMemory ( _
    ByRef blobMemory As Byte&, _
    ByVal Size As Integer, _
    ByVal transferOwnership As Integer _
)
[C#]
public void AttachToMemory (
    ref Byte& blobMemory,
    ref uint Size,
    ref int transferOwnership
);
[C++]
HRESULT AttachToMemory(
  System.Byte* blobMemory,
  Unsigned long Size,
  long transferOwnership
);
[C++]
Parameters
blobMemory [in]

blobMemory is a parameter of type unsigned char* Size
Size is a parameter of type unsigned long transferOwnership
transferOwnership is a parameter of type long

Product Availability

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

See Also

IMemoryBlobStream Interface