다음을 통해 공유


LanguageService.UpdateLanguageContext Method

Updates the current user help context in a selected region of the given source.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

‘선언
Public Overridable Sub UpdateLanguageContext ( _
    hint As LanguageContextHint, _
    buffer As IVsTextLines, _
    ptsSelection As TextSpan(), _
    context As IVsUserContext _
)
public virtual void UpdateLanguageContext(
    LanguageContextHint hint,
    IVsTextLines buffer,
    TextSpan[] ptsSelection,
    IVsUserContext context
)

Parameters

Remarks

This method is called to allow the language service to update the given user context.

The base method does nothing.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace