共用方式為


IntraTextAdornment 類別

支援隨 IntraTextAdornmentTag 物件提供的內部文字裝飾。

繼承階層架構

Object
  Microsoft.VisualStudio.Text.Editor.IntraTextAdornment

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
Public NotInheritable Class IntraTextAdornment
public static class IntraTextAdornment
public ref class IntraTextAdornment abstract sealed
[<AbstractClass>]
[<Sealed>]
type IntraTextAdornment =  class end
public final class IntraTextAdornment

IntraTextAdornment 類型會公開下列成員。

方法

  名稱 描述
公用方法靜態成員 GetIsSelected 取得指定 UIElement 的 IsSelected 值。
公用方法靜態成員 SetIsSelected 設定指定 UIElement 的 IsSelected 值。

回頁首

欄位

  名稱 描述
公用欄位靜態成員 IsSelected 代表這些裝飾的 IsSelected 屬性。

回頁首

備註

裝飾的說明,請參閱 「 擴充裝飾 」 一節編輯器的擴充點的 「 按鈕 」 一節,並在 [編輯器]

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Text.Editor 命名空間