Capture.Value 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從輸入字串取得擷取的子字串。
public:
property System::String ^ Value { System::String ^ get(); };
public string Value { get; }
member this.Value : string
Public ReadOnly Property Value As String
屬性值
被匹配捕獲的子字串。
備註
若呼叫 或 Match(String)NextMatch() 方法未找到匹配,則回傳 Match.Value 屬性的值為 Empty。 若正則表達式引擎無法匹配擷取群,則回傳 Group.Value 屬性的值為 Empty。