LanguageService Methods
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
| Name | Description | |
|---|---|---|
![]() | AbortBackgroundParse() | Stops the parse thread. |
![]() | AddCodeWindowManager(CodeWindowManager^) | Adds a code window manager to the language service. |
![]() | BeginInvoke(Delegate^, array<Object^>^) | Invokes a method on another thread. |
![]() | BeginParse(ParseRequest^, ParseResultHandler^) | Starts a parse operation on a background thread. |
![]() | CanStopThread(Source^) | Determines whether the thread can be stopped. |
![]() | CreateCodeWindowManager(IVsCodeWindow^, Source^) | Instantiates a CodeWindowManager class. |
![]() | CreateDocumentProperties(CodeWindowManager^) | Instantiates a T:Microsoft.Office.Core.DocumentProperties class. |
![]() | CreateDropDownHelper(IVsTextView^) | Instantiates a TypeAndMemberDropdownBars class. |
![]() | CreateExpansionFunction(ExpansionProvider^, String^) | Instantiates an ExpansionFunction class. |
![]() | CreateExpansionProvider(Source^) | Instantiates an ExpansionProvider class. |
![]() | CreateParseRequest(Source^, Int32, Int32, TokenInfo^, String^, String^, ParseReason, IVsTextView^) | Creates a request to satisfy the given reason for parsing that is then passed on to the parser. |
![]() | CreateSource(IVsTextLines^) | Instantiates a Source class. |
![]() | CreateViewFilter(CodeWindowManager^, IVsTextView^) | Instantiates a ViewFilter class. |
![]() | CurFileExtensionFormat(String^) | Returns the index into the file extension list that matches the extension of the specified file name. |
![]() | DispatchCommand(Guid, UInt32, IntPtr, IntPtr) | Called to execute the specified command. |
![]() | DispatchCommand(Guid, UInt32, UInt32, IntPtr, IntPtr) | Called to execute the specified command. |
![]() | Dispose() | Called when the language service object is being destroyed. |
![]() | EndInvoke(IAsyncResult^) | Retrieves the result of an asynchronous call started by LanguageService::BeginInvoke. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetCodeWindowManager(IVsCodeWindow^, IVsCodeWindowManager^) | Instantiates a CodeWindowManager class. |
![]() | GetCodeWindowManagerForSource(Source^) | Returns the CodeWindowManager object associated with the specified Source object. |
![]() | GetCodeWindowManagerForView(IVsTextView^) | Returns the CodeWindowManager associated with the specified IVsTextView object. |
![]() | GetColorableItem(Int32, IVsColorableItem^) | Returns the requested IVsColorableItem object. |
![]() | GetColorizer(IVsTextLines^) | Iinstantiates a Colorizer class. |
![]() | GetColorizer(IVsTextLines^, IVsColorizer^) | Returns the colorizer associated with a Source object that contains the given IVsTextLines object. |
![]() | GetFileExtensions(String^) | Returns a string containing the file extensions associated with this language. |
![]() | GetFormatFilterList() | Returns a list of file extension filters suitable for a Save As dialog box. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetImageList() | Returns an image list containing glyphs associated with the language service. |
![]() | GetItemCount(Int32) | Returns the number of custom colorable items supported by the language service. |
![]() | GetIVsDebugger() | Returns an IVsDebugger object representing the currently available debugger in order to listen for debugger events. |
![]() | GetIVsTextMacroHelperIfRecordingOn() | Returns an IVsTextMacroHelper object if macro recording is turned on. |
![]() | GetLanguageID(IVsTextBuffer^, Int32, Int32, Guid) | Returns the language GUID of the language service. |
![]() | GetLanguageName(String^) | Returns the name of the language this language service handles. |
![]() | GetLanguagePreferences() | Returns a LanguagePreferences object for this language service. |
![]() | GetLanguageServiceGuid() | Returns the GUID of the language service. |
![]() | GetLocationOfName(String^, String^, array<TextSpan>^) | Obsolete method that always returns E_NOTIMPL. |
![]() | GetNameOfLocation(IVsTextBuffer^, Int32, Int32, String^, Int32) | Returns the name of the enclosing element that contains the given position. |
![]() | GetOrCreateSource(IVsTextLines^) | Gets the source if it is available, otherwise creates one. |
![]() | GetParseResult() | Gets the result of the parse operation. |
![]() | GetPrimaryViewForSource(Source^) | Calls GetPrimaryView on the code window manager for the source. |
![]() | GetProximityExpressions(IVsTextBuffer^, Int32, Int32, Int32, IVsEnumBSTR^) | Returns a list of expressions to be evaluated and shown in the Autos window, for a given span of lines. |
![]() | GetScanner(IVsTextLines^) | Returns a single instantiation of a parser. |
![]() | GetService(Type^) | Returns a service object that can be cast to a specific interface. |
![]() | GetSite(Guid, IntPtr) | Returns an unmarshaled pointer to a requested interface. |
![]() | GetSource(IVsTextLines^) | Returns an existing Source object that contains the specified buffer of source. |
![]() | GetSource(IVsTextView^) | Returns an existing Source object that contains the source file shown in the specified text view. |
![]() | GetSource(String^) | Returns an existing Source object given a file name. |
![]() | GetSources() | Returns a collection of Source objects maintained by the language service. |
![]() | GetType() | (Inherited from Object.) |
![]() | Initialize() | Called to initialize the language service. |
![]() | Invoke(Delegate^, array<Object^>^) | Called to invoke a task specified by the given delegate. |
![]() | IsMacroRecordingOn() | Called to determine if macro recording is turned on. |
![]() | IsMappedLocation(IVsTextBuffer^, Int32, Int32) | Called to determine if the specified location in the given source file references code in another file. |
![]() | IsSourceOpen(Source^) | Determines whether or not the source file is open. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnActiveViewChanged(IVsTextView^) | Called when the current view has changed to a different view. |
![]() | OnCaretMoved(CodeWindowManager^, IVsTextView^, Int32, Int32) | Called when the caret has moved. |
![]() | OnChangesCommitted(UInt32, array<TextSpan>^) | Called when changes generated by an auto-complete or code snippet expansion operation is committed to the buffer. |
![]() | OnCloseSource(Source^) | Called to close the specified Source object. |
![]() | OnIdle(Boolean) | Called when no other events need to be handled. |
![]() | OnModeChange(DBGMODE) | Called whenever the debug mode has changed while debugging. |
![]() | OnParseAborted() | Does nothing. |
![]() | OnParseComplete(ParseRequest^) | Called when a background parse has been completed. |
![]() | OpenDocument(String^) | Opens the specified file. |
![]() | ParseSource(ParseRequest^) | Parses the source based on the specified ParseRequest object. |
![]() | QueryInvalidEncoding(__VSTFF, String^) | Determines if the specified source format is valid or not. |
![]() | QueryService(Guid, Guid, IntPtr) | Returns the request interface from the specified service. |
![]() | QueryWaitForAutoOutliningCallback(Int32) | Determines whether to wait for the auto-outlining callback to finish. |
![]() | RemoveCodeWindowManager(CodeWindowManager^) | Called when the view associated with the specified CodeWindowManager is closed. |
![]() | ResolveName(String^, UInt32, IVsEnumDebugName^) | Returns a list of method names that match the given name modified by the specified flags. |
![]() | ScrollToEnd(IVsTextView^) | Updates the specified view to show the end of the source file. |
![]() | ScrollToEnd(IVsWindowFrame^) | Updates the view in the specified window frame to show the end of the source file. |
![]() | SetSite(Object^) | Called to set or site the service provider for this language service. |
![]() | SetUserContextDirty(String^) | Marks the user context as dirty in the specified source buffer. |
![]() | SynchronizeDropdowns() | Called to update a drop-down bar based on the current caret position. |
![]() | ToString() | (Inherited from Object.) |
![]() | UpdateLanguageContext(LanguageContextHint, IVsTextLines^, array<TextSpan>^, IVsUserContext^) | Updates the current user help context in a selected region of the given source. |
![]() | ValidateBreakpointLocation(IVsTextBuffer^, Int32, Int32, array<TextSpan>^) | Called to determine if the given location can have a breakpoint applied to it. |
| Name | Description | |
|---|---|---|
![]() | QueryService(Guid) | Overloaded. Gets a service exposed by a service provider based on its service type.(Defined by PackageUtilities.) |
![]() | QueryService<TService>() | Overloaded. Gets a service exposed by a service provider based on its service type.(Defined by PackageUtilities.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IVsFormatFilterProvider::CurFileExtensionFormat(String^, UInt32) | Returns the index into the file extension list that matches the extension of the specified file name. |
![]() ![]() | IVsFormatFilterProvider::GetFormatFilterList(String^) | Returns a list of file extension filters suitable for a Save As dialog box. |
![]() ![]() | IVsFormatFilterProvider::QueryInvalidEncoding(UInt32, String^) | Determines if the specified source format is valid or not. |
![]() ![]() | IVsLanguageContextProvider::UpdateLanguageContext(UInt32, IVsTextLines^, array<TextSpan>^, Object^) | Updates the current user help context given a selected region of the given source. |



