Share via


RegexCollection Class (2007 System)

Represents a collection of regular expressions to be recognized by a smart tag in a Visual Studio Tools for Office solution.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)

Syntax

'Declaration
Public NotInheritable Class RegexCollection _
    Inherits CollectionBase
'Usage
Dim instance As RegexCollection
public sealed class RegexCollection : CollectionBase
public ref class RegexCollection sealed : public CollectionBase
public final class RegexCollection extends CollectionBase

Remarks

When you use the Microsoft.Office.Tools.Excel.SmartTag or Microsoft.Office.Tools.Word.SmartTag classes to create a smart tag, you can use the Expressions property to add a regular expression to be recognized by the smart tag. The Expressions property has the type RegexCollection.

For more information about smart tags in Visual Studio Tools for Office solutions, see Smart Tags Overview.

Inheritance Hierarchy

System.Object
  System.Collections.CollectionBase
    Microsoft.Office.Tools.RegexCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RegexCollection Members

Microsoft.Office.Tools Namespace

Other Resources

Smart Tags Overview