RegexCollection 類別 (2007 系統)
更新:2007 年 11 月
表示由 Visual Studio Tools for Office 方案中的智慧標籤所識別的規則運算式 (Regular Expression) 集合。
命名空間: 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.SmartTag 或 Microsoft.Office.Tools.Word.SmartTag 類別建立智慧標籤時,您可以使用 Expressions 屬性來加入要由智慧標籤識別的規則運算式。Expressions 屬性具有 RegexCollection 型別。
如需 Visual Studio Tools for Office 方案中智慧標籤的詳細資訊,請參閱智慧標籤概觀。
繼承階層架構
System.Object
System.Collections.CollectionBase
Microsoft.Office.Tools.RegexCollection
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。