IOrderedStreamStorage<TKey>.CreateAt(Int32, TKey) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
打开一个新流以便在给定索引处写入,并将其添加到存储中。
public:
System::IO::Stream ^ CreateAt(int index, TKey key);
public System.IO.Stream CreateAt (int index, TKey key);
abstract member CreateAt : int * 'Key -> System.IO.Stream
Public Function CreateAt (index As Integer, key As TKey) As Stream
参数
- index
- Int32
新流的索引。
- key
- TKey
要添加到存储中的新流的键。
返回
要写入的新流。 调用方负责释放流。