Skip to main content
InMemoryRandomAccessStream.Size | size property

Applies to Windows and Windows Phone

Gets or sets the size of the random access stream.

Syntax


var size = inMemoryRandomAccessStream.size;
inMemoryRandomAccessStream.size = size;

public ulong Size { get; set; }

Public Property Size As ULong

public:
property unsigned long long Size { 
   unsigned long long get();
   void set (unsigned long long value);
}

Property value

Type: Number [JavaScript] | System.UInt64 [.NET] | uint64 [C++]

The size of the stream.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Streams
Windows::Storage::Streams [C++]

Metadata

Windows.winmd

See also

InMemoryRandomAccessStream