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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.