WindowsRuntimeBufferExtensions.IsSameData(IBuffer, IBuffer) Método
Definição
Importante
Esta API não está em conformidade com CLS.
Retorna um valor que indica se dois buffers (objetos de Windows.Storage.Streams.IBuffer) representam a mesma região de memória subjacente.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
Parâmetros
- buffer
- IBuffer
O primeiro buffer.The first buffer.
- otherBuffer
- IBuffer
O segundo buffer.The second buffer.
Retornos
true se as regiões de memória que são representadas por dois buffers tiverem o mesmo ponto de partida; caso contrário, false.true if the memory regions that are represented by the two buffers have the same starting point; otherwise, false.
- Atributos