RegexCollection 类 (2007 system)

更新:2007 年 11 月

表示要由 Visual Studio Tools for Office 解决方案中的智能标记识别的正则表达式的集合。

命名空间:  Microsoft.Office.Tools
程序集:  Microsoft.Office.Tools.Common.v9.0(在 Microsoft.Office.Tools.Common.v9.0.dll 中)

语法

声明
Public NotInheritable Class RegexCollection _
    Inherits CollectionBase
用法
Dim instance As RegexCollection
public sealed class RegexCollection : CollectionBase

备注

在使用 Microsoft.Office.Tools.Excel.SmartTagMicrosoft.Office.Tools.Word.SmartTag 类创建智能标记时,可以使用 Expressions 属性添加要由该智能标记识别的正则表达式。Expressions 属性具有类型 RegexCollection。

有关 Visual Studio Tools for Office 解决方案中的智能标记的更多信息,请参见智能标记概述

继承层次结构

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

另请参见

参考

RegexCollection 成员

Microsoft.Office.Tools 命名空间

其他资源

智能标记概述