Class MemoryBlobStreamClass

Namespace
ESRI.ArcGIS.esriSystem
Assembly
ESRI.Server.System.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("BC929960-E736-11D0-9A93-080009EC734B")]
public class MemoryBlobStreamClass : MemoryBlobStream, IMemoryBlobStream2, IMemoryBlobStream, IBlobStream, IStream, ISequentialStream, IMemoryBlobStreamVariant, IDocumentVersion, ISupportErrorInfo
Inheritance
MemoryBlobStreamClass
Implements
Inherited Members

Constructors

MemoryBlobStreamClass()

public MemoryBlobStreamClass()

Explicit Interface Implementations

AllocSize

The allocated size of the stream.

virtual uint AllocSize { get; set; }

Returns

uint

AttachToMemory(ref byte, uint, int)

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

virtual void AttachToMemory(ref byte blobMemory, uint Size, int transferOwnership)

Parameters

blobMemory byte
Size uint
transferOwnership int

Clone(out IStream)

virtual void Clone(out IStream ppstm)

Parameters

ppstm IStream

Commit(uint)

virtual void Commit(uint grfCommitFlags)

Parameters

grfCommitFlags uint

DocumentVersion

The version of the document to save.

virtual esriArcGISVersion DocumentVersion { get; set; }

Returns

esriArcGISVersion

Remarks

Determines which version an object is persisted.  This can be useful when saving an object ObjectStream or MemoryBlobStream and you want the version of that object to be compatible with previous releases of ArcGIS.  Not all persistable objects implement IDocumentVersion; you should ensure the object supports this interface before accessing this property.

ExportToVariant(out object)

Copies the memory to a variant that contains an array of bytes.

virtual void ExportToVariant(out object Value)

Parameters

Value object

IMemoryBlobStream2_AttachToMemory(ref byte, uint, int)

virtual void IMemoryBlobStream2_AttachToMemory(ref byte blobMemory, uint Size, int transferOwnership)

Parameters

blobMemory byte
Size uint
transferOwnership int

IMemoryBlobStream2_Clone(out IStream)

virtual void IMemoryBlobStream2_Clone(out IStream ppstm)

Parameters

ppstm IStream

IMemoryBlobStream2_Commit(uint)

virtual void IMemoryBlobStream2_Commit(uint grfCommitFlags)

Parameters

grfCommitFlags uint

IMemoryBlobStream2_ImportFromMemory(ref byte, uint)

virtual void IMemoryBlobStream2_ImportFromMemory(ref byte blobMemory, uint Size)

Parameters

blobMemory byte
Size uint

IMemoryBlobStream2_LoadFromFile(string)

virtual void IMemoryBlobStream2_LoadFromFile(string FileName)

Parameters

FileName string

IMemoryBlobStream2_LockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, uint)

virtual void IMemoryBlobStream2_LockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType)

Parameters

libOffset _ULARGE_INTEGER
cb _ULARGE_INTEGER
dwLockType uint

IMemoryBlobStream2_Memory(IntPtr, out uint)

virtual void IMemoryBlobStream2_Memory(IntPtr blobMemory, out uint Size)

Parameters

blobMemory IntPtr
Size uint

IMemoryBlobStream2_RemoteCopyTo(IStream, _ULARGE_INTEGER, out _ULARGE_INTEGER, out _ULARGE_INTEGER)

virtual void IMemoryBlobStream2_RemoteCopyTo(IStream pstm, _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten)

Parameters

pstm IStream
cb _ULARGE_INTEGER
pcbRead _ULARGE_INTEGER
pcbWritten _ULARGE_INTEGER

IMemoryBlobStream2_RemoteRead(out byte, uint, out uint)

virtual void IMemoryBlobStream2_RemoteRead(out byte pv, uint cb, out uint pcbRead)

Parameters

pv byte
cb uint
pcbRead uint

IMemoryBlobStream2_RemoteSeek(_LARGE_INTEGER, uint, out _ULARGE_INTEGER)

virtual void IMemoryBlobStream2_RemoteSeek(_LARGE_INTEGER dlibMove, uint dwOrigin, out _ULARGE_INTEGER plibNewPosition)

Parameters

dlibMove _LARGE_INTEGER
dwOrigin uint
plibNewPosition _ULARGE_INTEGER

IMemoryBlobStream2_RemoteWrite(ref byte, uint, out uint)

virtual void IMemoryBlobStream2_RemoteWrite(ref byte pv, uint cb, out uint pcbWritten)

Parameters

pv byte
cb uint
pcbWritten uint

IMemoryBlobStream2_Revert()

virtual void IMemoryBlobStream2_Revert()

IMemoryBlobStream2_SaveToFile(string)

virtual void IMemoryBlobStream2_SaveToFile(string FileName)

Parameters

FileName string

IMemoryBlobStream2_SetSize(_ULARGE_INTEGER)

virtual void IMemoryBlobStream2_SetSize(_ULARGE_INTEGER libNewSize)

Parameters

libNewSize _ULARGE_INTEGER

IMemoryBlobStream2_Size

virtual uint IMemoryBlobStream2_Size { get; set; }

Returns

uint

IMemoryBlobStream2_Stat(out tagSTATSTG, uint)

virtual void IMemoryBlobStream2_Stat(out tagSTATSTG pstatstg, uint grfStatFlag)

Parameters

pstatstg tagSTATSTG
grfStatFlag uint

IMemoryBlobStream2_UnlockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, uint)

virtual void IMemoryBlobStream2_UnlockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType)

Parameters

libOffset _ULARGE_INTEGER
cb _ULARGE_INTEGER
dwLockType uint

ImportFromMemory(ref byte, uint)

Import using another blob.

virtual void ImportFromMemory(ref byte blobMemory, uint Size)

Parameters

blobMemory byte
Size uint

ImportFromVariant(object)

Imports from the array of bytes in the variant.

virtual void ImportFromVariant(object Value)

Parameters

Value object

InterfaceSupportsErrorInfo(ref Guid)

virtual void InterfaceSupportsErrorInfo(ref Guid riid)

Parameters

riid Guid

LoadFromFile(string)

virtual void LoadFromFile(string FileName)

Parameters

FileName string

LockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, uint)

virtual void LockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType)

Parameters

libOffset _ULARGE_INTEGER
cb _ULARGE_INTEGER
dwLockType uint

Memory(IntPtr, out uint)

The memory of the blob stream.

virtual void Memory(IntPtr blobMemory, out uint Size)

Parameters

blobMemory IntPtr
Size uint

PaddingSize

The allocated size of the stream.

virtual uint PaddingSize { get; set; }

Returns

uint

RemoteCopyTo(IStream, _ULARGE_INTEGER, out _ULARGE_INTEGER, out _ULARGE_INTEGER)

virtual void RemoteCopyTo(IStream pstm, _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten)

Parameters

pstm IStream
cb _ULARGE_INTEGER
pcbRead _ULARGE_INTEGER
pcbWritten _ULARGE_INTEGER

RemoteRead(out byte, uint, out uint)

virtual void RemoteRead(out byte pv, uint cb, out uint pcbRead)

Parameters

pv byte
cb uint
pcbRead uint

RemoteSeek(_LARGE_INTEGER, uint, out _ULARGE_INTEGER)

virtual void RemoteSeek(_LARGE_INTEGER dlibMove, uint dwOrigin, out _ULARGE_INTEGER plibNewPosition)

Parameters

dlibMove _LARGE_INTEGER
dwOrigin uint
plibNewPosition _ULARGE_INTEGER

RemoteWrite(ref byte, uint, out uint)

virtual void RemoteWrite(ref byte pv, uint cb, out uint pcbWritten)

Parameters

pv byte
cb uint
pcbWritten uint

Revert()

virtual void Revert()

SaveToFile(string)

virtual void SaveToFile(string FileName)

Parameters

FileName string

SetSize(_ULARGE_INTEGER)

virtual void SetSize(_ULARGE_INTEGER libNewSize)

Parameters

libNewSize _ULARGE_INTEGER

Size

virtual uint Size { get; set; }

Returns

uint

Stat(out tagSTATSTG, uint)

virtual void Stat(out tagSTATSTG pstatstg, uint grfStatFlag)

Parameters

pstatstg tagSTATSTG
grfStatFlag uint

UnlockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, uint)

virtual void UnlockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType)

Parameters

libOffset _ULARGE_INTEGER
cb _ULARGE_INTEGER
dwLockType uint