UCOMIStream 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 = interfacePublic Interface UCOMIStream- 属性
注解
有关详细信息,请参阅 MSDN 库的 com 子文件夹中和 ISequentialStream 的现有文档IStream。
方法
| Clone(UCOMIStream) | 
				已过时.
			 创建具有自己的搜索指针的一个新的流对象,该指针引用与原始流相同的字节。 | 
| Commit(Int32) | 
				已过时.
			 确保对以事务模式打开的流对象所做的任何更改都能反映在父级存储中。 | 
| 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) | 
				已过时.
			 将指定数目的字节写入以当前搜索指针开始的流对象。 |