Compartilhar via


FontsAndColorsCategory.SetFontCategory Method

Sets the GUID of the font category.

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

Syntax

'Declaration
Public Function SetFontCategory ( _
    newFontCategory As Guid _
) As FontsAndColorsCategory
public FontsAndColorsCategory SetFontCategory(
    Guid newFontCategory
)
public:
FontsAndColorsCategory^ SetFontCategory(
    Guid newFontCategory
)
member SetFontCategory : 
        newFontCategory:Guid -> FontsAndColorsCategory
public function SetFontCategory(
    newFontCategory : Guid
) : FontsAndColorsCategory

Parameters

  • newFontCategory
    Type: Guid

    The GUID of the font category.

Return Value

Type: Microsoft.VisualStudio.Editor.FontsAndColorsCategory
The FontsAndColorsCategory.

.NET Framework Security

See Also

Reference

FontsAndColorsCategory Class

Microsoft.VisualStudio.Editor Namespace