Bookmark 類別 (2007 系統)

更新:2007 年 11 月

Bookmark 控制項是具有唯一名稱、公開事件並可繫結至資料的書籤。

命名空間:  Microsoft.Office.Tools.Word
組件:  Microsoft.Office.Tools.Word.v9.0 (在 Microsoft.Office.Tools.Word.v9.0.dll 中)

語法

<DefaultBindingPropertyAttribute("Text")> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class Bookmark _
    Inherits RemoteBindableComponent _
    Implements ISupportInitializeControl, ISupportInitialize

Dim instance As Bookmark
[DefaultBindingPropertyAttribute("Text")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class Bookmark : RemoteBindableComponent, 
    ISupportInitializeControl, ISupportInitialize

備註

使用 AddBookmark 方法,將書籤加入至文件範圍。

繼承階層架構

System.Object
  Microsoft.VisualStudio.Tools.Office.RemoteComponent
    Microsoft.VisualStudio.Tools.Office.RemoteBindableComponent
      Microsoft.Office.Tools.Word.Bookmark

執行緒安全

這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。

請參閱

參考

Bookmark 成員

Microsoft.Office.Tools.Word 命名空間