Regex.Caps Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Important
Cette API n’est pas conforme CLS.
Obtient ou définit un dictionnaire qui mappe les groupes de capture numérotés à leurs valeurs d’index.
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
Valeur de propriété
Dictionnaire qui mappe les groupes de capture numérotés à leurs valeurs d’index.
- Attributs
Exceptions
La valeur affectée à la Caps propriété dans une opération set est null.
Remarques
Notez que cette propriété est protégée ; elle est accessible uniquement à partir d’une classe dérivée de la Regex classe.
Une opération set tente de convertir la valeur affectée à la propriété en objet Hashtable ; si cette conversion échoue, elle appelle le Hashtable.Hashtable(IDictionary) constructeur.