共用方式為


UseReducedOpacityForHighContrastOption 類別

繼承階層架構

Object
  Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition
    Microsoft.VisualStudio.Text.Editor.EditorOptionDefinition<Boolean>
      Microsoft.VisualStudio.Text.Editor.UseReducedOpacityForHighContrastOption

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

語法

'宣告
<ExportAttribute(GetType(EditorOptionDefinition))> _
<NameAttribute("UseReducedOpacityForHighContrast")> _
Public NotInheritable Class UseReducedOpacityForHighContrastOption _
    Inherits EditorOptionDefinition(Of Boolean)
[ExportAttribute(typeof(EditorOptionDefinition))]
[NameAttribute("UseReducedOpacityForHighContrast")]
public sealed class UseReducedOpacityForHighContrastOption : EditorOptionDefinition<bool>
[ExportAttribute(typeof(EditorOptionDefinition))]
[NameAttribute(L"UseReducedOpacityForHighContrast")]
public ref class UseReducedOpacityForHighContrastOption sealed : public EditorOptionDefinition<bool>
[<Sealed>]
[<ExportAttribute(typeof(EditorOptionDefinition))>]
[<NameAttribute("UseReducedOpacityForHighContrast")>]
type UseReducedOpacityForHighContrastOption =  
    class 
        inherit EditorOptionDefinition<bool>
    end
public final class UseReducedOpacityForHighContrastOption extends EditorOptionDefinition<boolean>

UseReducedOpacityForHighContrastOption 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 UseReducedOpacityForHighContrastOption

回頁首

屬性

  名稱 描述
公用屬性 Default (覆寫 EditorOptionDefinition<T>.Default。)
公用屬性 DefaultValue 取得選項的預設值。 (繼承自 EditorOptionDefinition<T>)。
公用屬性 Key (覆寫 EditorOptionDefinition<T>.Key。)
公用屬性 Name 取得選項的名稱。 (繼承自 EditorOptionDefinition<T>)。
公用屬性 ValueType 取得選項的實際型別。 (繼承自 EditorOptionDefinition<T>)。

回頁首

方法

  名稱 描述
公用方法 Equals 判斷兩個 EditorOptionDefinition 物件是否相同。 (繼承自 EditorOptionDefinition)。
公用方法 GetHashCode 取得這個型別的雜湊程式碼。 (繼承自 EditorOptionDefinition)。
公用方法 GetType 取得目前實例 Type 的屬性。 (繼承自 Object)。
公用方法 IsApplicableToScope 判斷這個選項是否適用於指定的範圍 (例如,文字緩衝區)。 (繼承自 EditorOptionDefinition)。
公用方法 IsValid(Object%) 判斷建議值是否有效。 (繼承自 EditorOptionDefinition<T>)。
公用方法 ToString 傳回代表目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.VisualStudio.Text.Editor 命名空間