Partager via


FontsAndColorsCategory.SetColorCategory Method

Sets GUID of the color category.

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

Syntax

'Déclaration
Public Function SetColorCategory ( _
    newColorCategory As Guid _
) As FontsAndColorsCategory
public FontsAndColorsCategory SetColorCategory(
    Guid newColorCategory
)
public:
FontsAndColorsCategory^ SetColorCategory(
    Guid newColorCategory
)
member SetColorCategory : 
        newColorCategory:Guid -> FontsAndColorsCategory 
public function SetColorCategory(
    newColorCategory : Guid
) : FontsAndColorsCategory

Parameters

  • newColorCategory
    Type: System.Guid
    The GUID of the color category.

Return Value

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

.NET Framework Security

See Also

Reference

FontsAndColorsCategory Class

Microsoft.VisualStudio.Editor Namespace