共用方式為


FontsAndColorsCategory.SetFontCategory Method

Sets the GUID of the font category.

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

Syntax

'宣告
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: System.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