Compartilhar via


IOrderedStreamStorage<TKey>.CreateAt(Int32, TKey) Method

Definition

Open a new Stream for writing at the given index, adding it to storage.

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

Parameters

index
Int32

Index of the new stream.

key
TKey

Key of the new stream to be added to storage.

Returns

A new Stream for writing. It is the responsibility of the caller to dispose the Stream.

Applies to