共用方式為


FontsAndColorsCategory.SetLanguageService Method

Sets the GUID of the language service.

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

Syntax

'宣告
Public Function SetLanguageService ( _
    newLanguageService As Guid _
) As FontsAndColorsCategory
public FontsAndColorsCategory SetLanguageService(
    Guid newLanguageService
)
public:
FontsAndColorsCategory^ SetLanguageService(
    Guid newLanguageService
)
member SetLanguageService : 
        newLanguageService:Guid -> FontsAndColorsCategory 
public function SetLanguageService(
    newLanguageService : Guid
) : FontsAndColorsCategory

Parameters

  • newLanguageService
    Type: System.Guid
    The GUID of the language service.

Return Value

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

.NET Framework Security

See Also

Reference

FontsAndColorsCategory Class

Microsoft.VisualStudio.Editor Namespace