FontsAndColorsCategory.SetColorCategory Method
Sets GUID of the color category.
Namespace: Microsoft.VisualStudio.Editor
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
Syntax
'宣告
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
- 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.