Match.Empty 属性
定义
获取空组。Gets the empty group. 所有失败的匹配都返回此空匹配。All failed matches return this empty match.
public:
static property System::Text::RegularExpressions::Match ^ Empty { System::Text::RegularExpressions::Match ^ get(); };
public static System.Text.RegularExpressions.Match Empty { get; }
member this.Empty : System.Text.RegularExpressions.Match
Public Shared ReadOnly Property Empty As Match
属性值
空匹配。An empty match.
注解
不应使用此属性来确定匹配是否成功。This property should not be used to determine if a match is successful. 请改用 Match.Success 从) 继承的属性 (Group.Success 。Instead, use the Match.Success property (which is inherited from Group.Success).