WindowsRuntimeBufferExtensions.IsSameData(IBuffer, IBuffer) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Importante
Questa API non è conforme a CLS.
Restituisce un valore che indica se due buffer (oggetti Windows.Storage.Streams.IBuffer) rappresentano la stessa area di memoria sottostante.
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
Parametri
- buffer
- IBuffer
Primo buffer.
- otherBuffer
- IBuffer
Secondo buffer.
Restituisce
true
se le aree di memoria che sono rappresentate dai due buffer hanno lo stesso punto iniziale; in caso contrario, false
.
- Attributi