次の方法で共有


FontsAndColorsCategory.AppearanceCategory Property

Gets the textual key that is used in the IEditorFormatMap and IClassificationFormatMap groupings of the editor.

Namespace:  Microsoft.VisualStudio.Editor
Assembly:  Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)

Syntax

'宣言
Public ReadOnly Property AppearanceCategory As String
    Get
public string AppearanceCategory { get; }
public:
property String^ AppearanceCategory {
    String^ get ();
}
member AppearanceCategory : string
function get AppearanceCategory () : String

Property Value

Type: System.String
The name of the appearance category.

Remarks

The return value is a name corresponding to the GUID of the FontCategory. The values are as follows:

guidTextEditorFontCategory: "text"

guidPrinterFontCategory: "printer"

guidToolTipFontCategory: "tooltip"

guidStatementCompletionFontCategory: "completion"

guidImmediateWindowFontCategory: "immediate"

guidCommandWindowFontCategory: "command"

guidOutputWindowFontCategory: "output"

guidFindResultsFontCategory: "find results"

.NET Framework Security

See Also

Reference

FontsAndColorsCategory Class

Microsoft.VisualStudio.Editor Namespace