WindowsRuntimeBufferExtensions.IsSameData(IBuffer, IBuffer) Metodo

Definizione

Importante

Questa API non è conforme a CLS.

Restituisce un valore che indica se due buffer (Windows. Gli oggetti 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
Windows.Storage.Streams.IBuffer

Primo buffer.

otherBuffer
Windows.Storage.Streams.IBuffer

Secondo buffer.

Valori restituiti

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

Attributi

Si applica a