WindowsRuntimeBufferExtensions.IsSameData(IBuffer, IBuffer) Method

Definition

Important

This API is not CLS-compliant.

Returns a value that indicates whether two buffers (Windows.Storage.Streams.IBuffer objects) represent the same underlying memory region.

C#
[System.CLSCompliant(false)]
public static bool IsSameData(this Windows.Storage.Streams.IBuffer buffer, Windows.Storage.Streams.IBuffer otherBuffer);

Parameters

buffer
IBuffer

The first buffer.

otherBuffer
IBuffer

The second buffer.

Returns

true if the memory regions that are represented by the two buffers have the same starting point; otherwise, false.

Attributes

Applies to

Product Versions
UWP 10.0