...
Signature | ||||
---|---|---|---|---|
| ||||
public int GroupCount{ get; } |
Signature | ||||
---|---|---|---|---|
| ||||
<p>PublicPublic ReadOnly Property GroupCount() As Integer</p>Integer |
Example |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
WordApplication app = new WordApplication(); Document doc = app.Open(@"C:\somedoc.doc"); IEnumerator searcherator = doc.Search("\s\d\d\d-?\d\d-?\d\d\d\d\s"); while (searcherator.MoveNext()) { SearchMatch match = (SearchMatch)searcherator.Current; int numMatchGroups = match.GroupCount; match.Element.Delete(); } |
...