UCOMIStream 介面

定義

警告

Use System.Runtime.InteropServices.ComTypes.IStream instead. http://go.microsoft.com/fwlink/?linkid=14202

請改用 IStream

public interface class UCOMIStream
[System.Runtime.InteropServices.Guid("0000000c-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface UCOMIStream
[System.Runtime.InteropServices.Guid("0000000c-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IStream instead. http://go.microsoft.com/fwlink/?linkid=14202", false)]
public interface UCOMIStream
[<System.Runtime.InteropServices.Guid("0000000c-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type UCOMIStream = interface
[<System.Runtime.InteropServices.Guid("0000000c-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("Use System.Runtime.InteropServices.ComTypes.IStream instead. http://go.microsoft.com/fwlink/?linkid=14202", false)>]
type UCOMIStream = interface
Public Interface UCOMIStream
屬性

備註

如需詳細資訊,請參閱 MSDN 程式庫 com 子資料夾中和 ISequentialStream 的現有檔 IStream

方法

Clone(UCOMIStream)
已淘汰.

建立新的資料流物件,其搜尋指標會參考與原始資料流相同的位元組。

Commit(Int32)
已淘汰.

確保對異動模式 (Transacted Mode) 中開啟的資料流物件的任何變更都會反映在父 (Parent) 儲存區中。

CopyTo(UCOMIStream, Int64, IntPtr, IntPtr)
已淘汰.

從資料流中目前的搜尋指標將指定的位元組數目複製到另一個資料流中目前的搜尋指標。

LockRegion(Int64, Int64, Int32)
已淘汰.

限制對資料流中指定範圍之位元組的存取。

Read(Byte[], Int32, IntPtr)
已淘汰.

從資料流物件中將指定的位元組數目讀入記憶體中目前搜尋指標開始處。

Revert()
已淘汰.

捨棄自上次 Commit(Int32) 呼叫後已對交易資料流所做的全部變更。

Seek(Int64, Int32, IntPtr)
已淘汰.

將搜尋指標變更為相對於資料流開頭、資料流結尾或目前搜尋指標的新位置。

SetSize(Int64)
已淘汰.

變更資料流物件的大小。

Stat(STATSTG, Int32)
已淘汰.

擷取此資料流的 STATSTG 結構。

UnlockRegion(Int64, Int64, Int32)
已淘汰.

移除先前以 LockRegion(Int64, Int64, Int32) 限制的位元組範圍的存取限制。

Write(Byte[], Int32, IntPtr)
已淘汰.

將指定的位元組數目寫入資料流物件中目前搜尋指標開始處。

適用於