Group.Success Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether the match is successful.
public:
property bool Success { bool get(); };
public bool Success { get; }
member this.Success : bool
Public ReadOnly Property Success As Boolean
Property Value
true
if the match is successful; otherwise, false
.
Remarks
The Success
property is true if at least one substring was captured by this group. It is equivalent to the Boolean expression (Group.Captures.Count > 0).
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.