Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the regular expression at the specified index.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Default Property Item ( _
index As Integer _
) As Regex
Regex this[
int index
] { get; set; }
Parameters
- index
Type: System.Int32
The zero-based index of the regular expression to get or set.
Property Value
Type: System.Text.RegularExpressions.Regex
The Regex at the specified index.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |
.NET Framework Security
- 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.