Regex.Caps プロパティ

定義

重要

この API は CLS 準拠ではありません。

番号付きのキャプチャ対象グループをインデックス値にマップする辞書を取得または設定します。

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

プロパティ値

番号付きのキャプチャ対象グループをインデックス値にマップする辞書。

属性

例外

セット操作で Caps プロパティに割り当てられた値は、null です。

注釈

このプロパティは保護されていることに注意してください。これは、 クラスから派生したクラスからの Regex みアクセスできます。

set 操作は、プロパティに割り当てられた値を オブジェクトに Hashtable 変換しようとします。この変換が失敗した場合は、コンストラクターを Hashtable.Hashtable(IDictionary) 呼び出します。

適用対象