This documentation is archived and is not being maintained.
ArrayUtil::Equals Method (array<Byte>, array<Byte>, Int32)
Visual Studio 2013
Compare two byte arrays to determine whether they contain the same data.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
public: static bool Equals( array<unsigned char>^ a1, array<unsigned char>^ a2, int length )
Parameters
- a1
- Type: array<System::Byte>
First array to compare.
- a2
- Type: array<System::Byte>
Second array to compare.
- length
- Type: System::Int32
# of bytes to compare.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: