Compartir a través de


CoreWebView2SharedBuffer Class

Definition

A shared memory based buffer object that is created by CreateSharedBuffer(UInt64). The object is presented to script as ArrayBuffer when posted to script with PostSharedBufferToScript(CoreWebView2SharedBuffer, CoreWebView2SharedBufferAccess, String).

public class CoreWebView2SharedBuffer : IDisposable
type CoreWebView2SharedBuffer = class
    interface IDisposable
Public Class CoreWebView2SharedBuffer
Implements IDisposable
Inheritance
CoreWebView2SharedBuffer
Implements

Properties

Buffer

A Windows.Foundation.IMemoryBufferReference object to access the underlying memory of the shared buffer as an array of bytes.

FileMappingHandle

The file mapping handle of the shared memory of the buffer.

Size

The size of the shared buffer in bytes.

Methods

Close()
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

Protected implementation of Dispose pattern.

OpenStream()

Get an stream object that can be used to access the shared buffer.

Applies to