Match.Synchronized(Match) 方法

定義

傳回 Match 執行個體,相當於可在多個執行緒之間提供一個可共用的執行個體。

public:
 static System::Text::RegularExpressions::Match ^ Synchronized(System::Text::RegularExpressions::Match ^ inner);
public static System.Text.RegularExpressions.Match Synchronized (System.Text.RegularExpressions.Match inner);
static member Synchronized : System.Text.RegularExpressions.Match -> System.Text.RegularExpressions.Match
Public Shared Function Synchronized (inner As Match) As Match

參數

inner
Match

相當於所需項目的規則運算式相符項目。

傳回

適合在多個執行緒之間共用的規則運算式相符項目。

例外狀況

innernull

適用於