GetMatches Method (String[], Int32, Int32)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Searches the specified array for all occurrences of a regular expression, beginning at the specified starting position and ending at the specified length.
Namespace: System.Text.RegularExpressions
Assembly: System.Text.RegularExpressions (in System.Text.RegularExpressions.dll)
Syntax
'Declaration
Public Function GetMatches ( _
search As String(), _
start As Integer, _
length As Integer _
) As String()
public string[] GetMatches(
string[] search,
int start,
int length
)
public:
array<String^>^ GetMatches(
array<String^>^ search,
int start,
int length
)
member GetMatches :
search:string[] *
start:int *
length:int -> string[]
public function GetMatches(
search : String[],
start : int,
length : int
) : String[]
Parameters
- search
Type: array<System. . :: . .String> [] () [] []
The array to search.
- start
Type: System. . :: . .Int32
The starting point.
- length
Type: System. . :: . .Int32
The number of elements to search.
Return Value
Type: array<System. . :: . .String> [] () [] []
The matching objects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.