WindowsRuntimeBufferExtensions.IsSameData(IBuffer, IBuffer) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
[System::Runtime::CompilerServices::Extension]
static bool IsSameData(Windows::Storage::Streams::IBuffer ^ buffer, Windows::Storage::Streams::IBuffer ^ otherBuffer);
[System.CLSCompliant(false)]
public static bool IsSameData(this Windows.Storage.Streams.IBuffer buffer, Windows.Storage.Streams.IBuffer otherBuffer);
[<System.CLSCompliant(false)>]
static member IsSameData : Windows.Storage.Streams.IBuffer * Windows.Storage.Streams.IBuffer -> bool
<Extension()>
Public Function IsSameData (buffer As IBuffer, otherBuffer As IBuffer) As Boolean
- buffer
- IBuffer
The first buffer.
- otherBuffer
- IBuffer
The second buffer.
true
if the memory regions that are represented by the two buffers have the same starting point; otherwise, false
.
- Attributes
Product | Versions |
---|---|
UWP | 10.0 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: