Partager via


BMMatcher.Match Method (Byte[], Int32)

Tests whether the search pattern is found anywhere in the search buffer.

Namespace: Microsoft.Web.Services3.Mime
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim data() As Byte
Dim shift As Integer
Dim returnValue As Boolean
Dim bMMatcher1 As BMMatcher
returnValue = bMMatcher1.Match(data, shift)

Syntax

'Declaration
Overloads Public Function Match( _
    ByVal data() As Byte, _
    ByRef shift As Integer _
) As Boolean
public bool Match(
    byte[] data, 
    ref int shift
);
public:
bool Match(
    array<unsigned char>^ data,
    int% shift
);
public boolean Match(
    ubyte[] data, 
    /*ref*/int shift
);
public function Match(
     data : Byte[], 
     shift : int
) : Boolean;

Parameters

  • data
    The value to be searched.
  • shift
    The index location in the buffer where the match is found.

Return Value

true if a match was found, false otherwise.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

BMMatcher Class
BMMatcher Members
Microsoft.Web.Services3.Mime Namespace