IOrderedStreamStorage<TKey>.CreateAt(Int32, TKey) 方法

定义

打开一个新流以便在给定索引处写入,并将其添加到存储中。

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

要添加到存储中的新流的键。

返回

Stream

要写入的新流。 调用方负责释放流。

适用于