Udostępnij za pośrednictwem


IStreamStorage<TKey>.GetStreamSize(TKey, Int64, Int64) Method

Definition

Gets the number of bytes used by an existing Stream in the storage.

public:
 void GetStreamSize(TKey key, [Runtime::InteropServices::Out] long % actualSize, [Runtime::InteropServices::Out] long % reservedSize);
public void GetStreamSize (TKey key, out long actualSize, out long reservedSize);
abstract member GetStreamSize : 'Key * int64 * int64 -> unit
Public Sub GetStreamSize (key As TKey, ByRef actualSize As Long, ByRef reservedSize As Long)

Parameters

key
TKey

Key to the existing stream.

actualSize
Int64

Number of used bytes.

reservedSize
Int64

Number of reserved bytes.

Applies to