RegexMatchTimeoutException.Pattern 屬性

定義

取得當發生逾時,比對作業中所使用的規則運算式模式。

public:
 property System::String ^ Pattern { System::String ^ get(); };
public string Pattern { get; }
member this.Pattern : string
Public ReadOnly Property Pattern As String

屬性值

規則運算式模式。

備註

這個屬性會反映建構函式的參數 RegexMatchTimeoutException(String, String, TimeSpan)regexPattern 。 如果參數未在建構函式呼叫中正確初始化,則其值為 String.Empty

適用於