NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Group.Success

Indicates whether the match is successful.

[Visual Basic]
Public ReadOnly Property Success As Boolean
[C#]
public bool Success {get;}
[C++]
public: __property bool get_Success();
[JScript]
public function get Success() : 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 (Group.Captures.Size > 0).

See Also

Group Class | Group Members | System.Text.RegularExpressions Namespace