Condividi tramite


WindowsRuntimeBufferExtensions.IsSameData(IBuffer, IBuffer) Metodo

Definizione

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

Boolean

true se le aree di memoria che sono rappresentate dai due buffer hanno lo stesso punto iniziale; in caso contrario, false.

Attributi

Si applica a