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
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
Clone(out IStream)
virtual void Clone(out IStream ppstm)
Parameters
ppstmIStream
Commit(uint)
virtual void Commit(uint grfCommitFlags)
Parameters
grfCommitFlagsuint
DocumentVersion
The version of the document to save.
virtual esriArcGISVersion DocumentVersion { get; set; }
Returns
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
Valueobject
IMemoryBlobStream2_AttachToMemory(ref byte, uint, int)
virtual void IMemoryBlobStream2_AttachToMemory(ref byte blobMemory, uint Size, int transferOwnership)
Parameters
IMemoryBlobStream2_Clone(out IStream)
virtual void IMemoryBlobStream2_Clone(out IStream ppstm)
Parameters
ppstmIStream
IMemoryBlobStream2_Commit(uint)
virtual void IMemoryBlobStream2_Commit(uint grfCommitFlags)
Parameters
grfCommitFlagsuint
IMemoryBlobStream2_ImportFromMemory(ref byte, uint)
virtual void IMemoryBlobStream2_ImportFromMemory(ref byte blobMemory, uint Size)
Parameters
IMemoryBlobStream2_LoadFromFile(string)
virtual void IMemoryBlobStream2_LoadFromFile(string FileName)
Parameters
FileNamestring
IMemoryBlobStream2_LockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, uint)
virtual void IMemoryBlobStream2_LockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType)
Parameters
libOffset_ULARGE_INTEGERcb_ULARGE_INTEGERdwLockTypeuint
IMemoryBlobStream2_Memory(IntPtr, out uint)
virtual void IMemoryBlobStream2_Memory(IntPtr blobMemory, out uint Size)
Parameters
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
pstmIStreamcb_ULARGE_INTEGERpcbRead_ULARGE_INTEGERpcbWritten_ULARGE_INTEGER
IMemoryBlobStream2_RemoteRead(out byte, uint, out uint)
virtual void IMemoryBlobStream2_RemoteRead(out byte pv, uint cb, out uint pcbRead)
Parameters
IMemoryBlobStream2_RemoteSeek(_LARGE_INTEGER, uint, out _ULARGE_INTEGER)
virtual void IMemoryBlobStream2_RemoteSeek(_LARGE_INTEGER dlibMove, uint dwOrigin, out _ULARGE_INTEGER plibNewPosition)
Parameters
dlibMove_LARGE_INTEGERdwOriginuintplibNewPosition_ULARGE_INTEGER
IMemoryBlobStream2_RemoteWrite(ref byte, uint, out uint)
virtual void IMemoryBlobStream2_RemoteWrite(ref byte pv, uint cb, out uint pcbWritten)
Parameters
IMemoryBlobStream2_Revert()
virtual void IMemoryBlobStream2_Revert()
IMemoryBlobStream2_SaveToFile(string)
virtual void IMemoryBlobStream2_SaveToFile(string FileName)
Parameters
FileNamestring
IMemoryBlobStream2_SetSize(_ULARGE_INTEGER)
virtual void IMemoryBlobStream2_SetSize(_ULARGE_INTEGER libNewSize)
Parameters
libNewSize_ULARGE_INTEGER
IMemoryBlobStream2_Size
virtual uint IMemoryBlobStream2_Size { get; set; }
Returns
IMemoryBlobStream2_Stat(out tagSTATSTG, uint)
virtual void IMemoryBlobStream2_Stat(out tagSTATSTG pstatstg, uint grfStatFlag)
Parameters
pstatstgtagSTATSTGgrfStatFlaguint
IMemoryBlobStream2_UnlockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, uint)
virtual void IMemoryBlobStream2_UnlockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType)
Parameters
libOffset_ULARGE_INTEGERcb_ULARGE_INTEGERdwLockTypeuint
ImportFromMemory(ref byte, uint)
Import using another blob.
virtual void ImportFromMemory(ref byte blobMemory, uint Size)
Parameters
ImportFromVariant(object)
Imports from the array of bytes in the variant.
virtual void ImportFromVariant(object Value)
Parameters
Valueobject
InterfaceSupportsErrorInfo(ref Guid)
virtual void InterfaceSupportsErrorInfo(ref Guid riid)
Parameters
riidGuid
LoadFromFile(string)
virtual void LoadFromFile(string FileName)
Parameters
FileNamestring
LockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, uint)
virtual void LockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType)
Parameters
libOffset_ULARGE_INTEGERcb_ULARGE_INTEGERdwLockTypeuint
Memory(IntPtr, out uint)
The memory of the blob stream.
virtual void Memory(IntPtr blobMemory, out uint Size)
Parameters
PaddingSize
The allocated size of the stream.
virtual uint PaddingSize { get; set; }
Returns
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
pstmIStreamcb_ULARGE_INTEGERpcbRead_ULARGE_INTEGERpcbWritten_ULARGE_INTEGER
RemoteRead(out byte, uint, out uint)
virtual void RemoteRead(out byte pv, uint cb, out uint pcbRead)
Parameters
RemoteSeek(_LARGE_INTEGER, uint, out _ULARGE_INTEGER)
virtual void RemoteSeek(_LARGE_INTEGER dlibMove, uint dwOrigin, out _ULARGE_INTEGER plibNewPosition)
Parameters
dlibMove_LARGE_INTEGERdwOriginuintplibNewPosition_ULARGE_INTEGER
RemoteWrite(ref byte, uint, out uint)
virtual void RemoteWrite(ref byte pv, uint cb, out uint pcbWritten)
Parameters
Revert()
virtual void Revert()
SaveToFile(string)
virtual void SaveToFile(string FileName)
Parameters
FileNamestring
SetSize(_ULARGE_INTEGER)
virtual void SetSize(_ULARGE_INTEGER libNewSize)
Parameters
libNewSize_ULARGE_INTEGER
Size
virtual uint Size { get; set; }
Returns
Stat(out tagSTATSTG, uint)
virtual void Stat(out tagSTATSTG pstatstg, uint grfStatFlag)
Parameters
pstatstgtagSTATSTGgrfStatFlaguint
UnlockRegion(_ULARGE_INTEGER, _ULARGE_INTEGER, uint)
virtual void UnlockRegion(_ULARGE_INTEGER libOffset, _ULARGE_INTEGER cb, uint dwLockType)
Parameters
libOffset_ULARGE_INTEGERcb_ULARGE_INTEGERdwLockTypeuint