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
- 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.