Regex.Caps Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Gets or sets a dictionary that maps numbered capturing groups to their index values.
protected:
property System::Collections::IDictionary ^ Caps { System::Collections::IDictionary ^ get(); void set(System::Collections::IDictionary ^ value); };
[System.CLSCompliant(false)]
protected System.Collections.IDictionary? Caps { get; set; }
protected System.Collections.IDictionary Caps { get; set; }
[System.CLSCompliant(false)]
protected System.Collections.IDictionary Caps { get; set; }
[<System.CLSCompliant(false)>]
member this.Caps : System.Collections.IDictionary with get, set
member this.Caps : System.Collections.IDictionary with get, set
Protected Property Caps As IDictionary
Property Value
A dictionary that maps numbered capturing groups to their index values.
- Attributes
Exceptions
The value assigned to the Caps property in a set operation is null
.
Remarks
Note that this property is protected; it can only be accessed from a class derived from the Regex class.
A set operation attempts to convert the value assigned to the property to a Hashtable object; if this conversion fails, it calls the Hashtable.Hashtable(IDictionary) constructor.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre