Create method
Collapse the table of content
Expand the table of content

IBufferFactory.Create method

Creates a Buffer object.

Syntax


Function Create(
  capacity As UInteger 
) As Buffer

Parameters

capacity

Type: System.UInt32 [.NET] | uint32 [C++]

The maximum number of bytes that the Buffer can hold.

Return value

Type: Buffer

The new Buffer.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

IBufferFactory

 

 

Show:
© 2017 Microsoft