Regex.CapNames 속성

정의

중요

이 API는 CLS 규격이 아닙니다.

명명된 캡처링 그룹을 인덱스 값에 매핑하는 사전을 가져오거나 설정합니다.

protected:
 property System::Collections::IDictionary ^ CapNames { System::Collections::IDictionary ^ get(); void set(System::Collections::IDictionary ^ value); };
[System.CLSCompliant(false)]
protected System.Collections.IDictionary? CapNames { get; set; }
protected System.Collections.IDictionary CapNames { get; set; }
[System.CLSCompliant(false)]
protected System.Collections.IDictionary CapNames { get; set; }
[<System.CLSCompliant(false)>]
member this.CapNames : System.Collections.IDictionary with get, set
member this.CapNames : System.Collections.IDictionary with get, set
Protected Property CapNames As IDictionary

속성 값

IDictionary

명명된 캡처링 그룹을 인덱스 값에 매핑하는 사전입니다.

특성

예외

집합 작업의 CapNames 속성에 할당된 값은 null입니다.

설명

이 속성은 보호됩니다. 클래스에서 파생 Regex 된 클래스에서만 액세스할 수 있습니다.

set 연산은 속성에 할당된 값을 개체로 Hashtable 변환하려고 합니다. 이 변환에 실패하면 생성자를 호출 Hashtable.Hashtable(IDictionary) 합니다.

적용 대상