Microsoft.VisualStudio.TextManager.Interop.8.0 Specifies a type of color value: foreground, background, or line color. Specifies the background color. Specifies the foreground color. Specifies the line color (used when the interface is implemented on the interface). Specifies editor properties. Override the default behavior of a text view accessibility implementation. Provides additional members for . Blocks the thread during a search. Do not update visual user interface elements. Match line breaks by using regular expressions. Provides additional members for the enumeration. The replace operation was cancelled before any replacement were made. The user tried to replace only the CR of the LF of a line with a CR-LF ending. Provides additional members for the VSFTPROPID enumeration. VT_BOOL; the Find in Files operation is foreground only. Specifies the buffer coordinator mapping mode for contained languages. Indicates that the buffer is a single span, so no markers are required. This is a special mode; if you create a marker to track the entire buffer, the marker will be deleted when the user deletes the contents of the entire buffer, and all subsequent marker events are lost. There is no way to create a marker that is wider than the buffer. This mode supersedes any other bit flags set. A combination of and . Indicates that the primary span actually has an additional character at the beginning, but only the characters after that additional character are replicated to the secondary span. This mode is used to prevent deletion of text markers when one of the spans collapses into 0 characters, for example, when the user deletes everything in the span range. In the extended left mode, the primary span includes the '>' from the opening <script>tag. Normally this mode should be changed only when there are no mappings. If the mapping mode is changed when the buffer coordinator already has span mappings, the result is unpredictable. Indicates that the primary span actually has an additional character at the end, but only the characters before that additional character are replicated to the secondary span. This mode is used to prevent deletion of text markers when one of the spans collapses into 0 characters, for example, when the user deletes everything in the span range. In extended right mode, the primary span includes the '<' from the closing </script> tag. Normally this mode should be changed only when there are no mappings. If the mapping mode is changed when the buffer coordinator already has span mappings, the result is unpredictable. Indicates the default mode, in which the primary span equals the secondary span. Represents the different behaviors of a code window. The default behavior (the window has a dropdown bar and can be split. The dropdown bar is disabled. The window splitter is disabled. Extends the enumeration of end of line markers. UNICODE end of line. This value is also defined as End of enum marker. Specifies the type of an expansion function. The expansion function represents a list of values. This list is typically displayed in an IntelliSense completion list. The expansion function represents a single value. Specifies an expansion path typically associated with code snippet locations. The installation root for Visual Studio, for example, "C:\Program Files\Microsoft Visual Studio 10". The user document folder where Visual Studio stores user-specific settings, for example, "C:\Documents and Settings\[username]\My Documents\Visual Studio 2005". Code snippets will appear under that path in "Code Snippets\[languageName]\My Code Snippets", where [languageName] is a language name such as "C#". Represents different options for highlighting matching braces. Tells the view to suppress status bar updates. Use rectangles for highlighting instead of bold. Specifies the view frame type. The view frame type is not specified. The view frame is a code window. The view frame is a tool window. Specifies options for . Provides no text attributes or glyphs. Draws a glyph. Provides text attributes. Specifies the direction of buffer coordinator replication for contained languages. Specifies that the direction is from the primary to the secondary buffer. Specifies that the direction is from the secondary to the primary buffer. Adds flags that indicate the type of changes made to text that triggered the commit gesture. The text has been reformatted. Used to specify the type of code members that are to be returned from a list of code members. Specifies an event handler type. Specifies an event type. Specifies a user function type. Represents the kind of code block (try,catch, finally) used in . The exception block. The finally block The try block. Used to specify the recompilation mode for a contained language. Specifies to recompile the file - used when the primary editor replaces the entire buffer and wants a full recompile. Specifies to recompile the entire project, for example, when the compiler options have changed. Used to specify the type of element is being renamed in a contained language. Specifies the rename type is a class. Specifies the rename type is a class member. Specifies the rename type is a namespace. Specifies the rename type is something other than a class, class member, or namespace. Used to create a new external error. File name of the file containing the error. Error text. Nonzero for error, zero for warning. Error column number. Error ID. Error line number. Specifies color table preferences to be used when painting text or markers. Bold fonts that are used by text views. Regular fonts that are used by text views. COM pointer to the color table for the colorable item provider indicated by *. This object is created as a result of this call if it has not been created already. This pointer is guaranteed to be valid if the structure is an [in] parameter to a function. If you want to hold onto it beyond that you must AddRef (and later Release) it. GUID of the category to be used for the editor's color settings. The editor can handle separate categories for fonts and colors. CLSID of an implementor. GUID of the category to be used for the editor's font settings. The editor can handle separate categories for fonts and colors. Provides frame settings that control whether scroll bars are provided for views. Determines whether the frame should display a horizontal scroll bar for views. Determines whether the frame should display a vertical scroll bar for views. Extends the enumeration. Indicates that the global pointer to the view being painted is set and can be used. Provides additional members to the enumeration. Client will draw the collapsed region banner, only valid for collapsed regions. User controls (+/- glyph and banner dbl-click) will be disabled, only valid for collapsed regions. Specifies IntelliSense host flags. Indicates that the context text can be committed to a read-only buffer. Indicates that there is no subject and the context buffer contains the IntelliSense target. This flag implies that the is not specified. Indicates that any editing (in the subject or context fields) should be done in the overwrite mode (otherwise, editing is done in the insert mode). Indicates the context buffer is read-only. Indicates the subject text must be displayed on a single line. Calculates the check sum for the file representation of the associated text buffer. Calculates the check sum for the file representation of the associated text buffer using the specified algorithm. If the method succeeds, it returns . If it fails, it returns an error code. [in] GUID representing the algorithm to use [in] Buffer size passed in [out] Buffer into which the checksum is written [out] Buffer size required Provides methods handling an structure. Draws the glyph. If the method succeeds, it returns . If it fails, it returns an error code. [in] Unused. [in] Handle for current device context. [in] Pointer to the RECT structure which contains the glyph. Gets the attributes of the atom If the method succeeds, it returns . If it fails, it returns an error code. The length. An array of color attributes. Gets the type of atom it is (glyph, text, or default). If the method succeeds, it returns . If it fails, it returns an error code. [out] A flag from . Gets the width of the glyph. If the method succeeds, it returns . If it fails, it returns an error code. [in] The width of a pixel. [out] The width of the glyph in pixels. Contains a method to query whether to wait to de-persist outlining state. Determines whether to wait to de-persist outlining state. If the method succeeds, it returns . If it fails, it returns an error code. [out] Value is 0 to indicate no wait. Provides a method to get the list of extra files to process. Used by text manager in check out of multiple files. Gets a list of files to process. If the method succeeds, it returns . If it fails, it returns an error code. [in] The base buffer. [out] A list of files to process (which should include the current file). Separate files in the list with a semi-colon (;). Provides a method for the language service to tell the buffer coordinator to clip the text span to a valid span in the secondary buffer. Determines whether the buffer coordinator should clip a text span to a valid span in the secondary buffer. Returns if the method succeeds. [in] Pointer to the primary buffer. [in] Pointer to the secondary buffer. [in] Pointer to the text span. [out] Value is true if the buffer coordinator should clip the text span to a valid span in the secondary buffer. Provides a method to show the page encoding selection dialog. Show the dialog for selecting an encoding for opening a file. If the method succeeds, it returns . If it fails, it returns an error code. [in] The name of the file to be opened. [in] User data for the file to be opened. Provides methods to determine and customize some of the behavior of a code window. Customizes some of the behavior of a code window, such as making the window read-only, hiding the dropdown bar and splitter, and provide auxiliary user context. Returns if the method succeeds. [in] Enumeration value which determines the behavior of the code window. Possible values are: CWB _DEFAULT, CWB_DISABLEDROPDOWNBAR, or CWB_DISABLESPLITTER. [in] Enumeration value which determines the use of the auxiliary user context. [in] The name of the auxiliary user context. [in] The value of the auxiliary user context. [in] Flags to modify the [in] The enumeration which specifies view parameters. Determines whether the code window is read-only. Returns if the code window is read-only; otherwise, returns indicating the code window is not read-only. Extends a language service colorizer by allowing the environment to suspend and restart colorization. Starts or resume colorization operations. If the method succeeds, it returns . If it fails, it returns an error code. Suspends or ends colorization operations. If the method succeeds, it returns . If it fails, it returns an error code. Implemented by the environment on the command window tool window to coordinate statement completion. Sets the current context for statement completion. Returns if the method succeeds. [in] The path to the file containing the current statement. [in] The text buffer containing the current statement. [in] The current statement’s text span. [in] may be used to pass additional context in future. If none is available, NULL is passed. Provides capabilities for building completion sets for statement completion. Gets the number of completion sets. If the method succeeds, it returns . If it fails, it returns an error code. The number of completion sets. Gets the builder description If the method succeeds, it returns . If it fails, it returns an error code. [in] The index of the completion set. [out] The description. Gets the builder’s display text. If the method succeeds, it returns . If it fails, it returns an error code. [in] The index of the completion set. [in] The display text. [out, optional] A glyph for the display text. Gets the images used by the builder. If the method succeeds, it returns . If it fails, it returns an error code. [out] The images. Gets the foreground/background color. If the method succeeds, it returns . If it fails, it returns an error code. [in] The index of the completion set. [out] The foreground color. [out] The background color. Called when a builder has committed a completion set. If the method succeeds, it returns . If it fails, it returns an error code. [in] The index of the completion set. Allows a completion set to provide various kinds of customization. Compares two completor items. If the method is successful, returns ; otherwise, returns an error code (in which case the default comparison is used). [in] First string to compare to. [in] Second string to compare to first string. [in] Number of characters to compare. [out] Result of comparison. Show in the completion list all common items available. If the method succeeds, it returns . If it fails, it returns an error code. [in] The item of interest. Returns the foreground and background colors for a selected item. If the method succeeds, it returns . If it fails, it returns an error code. [in] item of interest. [out] Foreground color. For values, see COLORREF. [out] Background color. For values, see COLORREF. Returns the current filter level. If successful, returns . If there is no filter, returns ; otherwise, returns an error code. [out] Returns the current filter level. Show in the completion list the members of the specified type. If the method succeeds, it returns . If it fails, it returns an error code. [in] The index of the item of interest. Called when the completion has been committed. If the method succeeds, it returns . If it fails, it returns an error code. Implemented by a language to support buffer span mapping. Returns an enumerator of original code block mappings. If successful, returns ; otherwise, returns an error code. [out] Returns an object that contains a list of objects representing all embedded code blocks in the original document. Notifies the provider of the code spans that the buffer coordinator has been updated with new spans. If the method succeeds, it returns . If it fails, it returns an error code. Provides simplistic contained language service features. Returns a colorizer object for the language. If successful, returns ; otherwise, returns an error code. [out] Returns an object representing the colorizer to use for the contained language. Returns the GUID for the full language service of the contained language. If successful, returns ; otherwise, returns an error code. [out] Returns the GUID of the language service of the contained language. Returns a text view filter to handle delegated text view filtering responsibility. If successful, returns ; otherwise, returns an error code. [in] An object representing the IntelliSense host. [in] An object representing the command target to pass any unhandled commands to. [out] Returns an object representing the text view filter that is used by the contained language service to receive any commands passed to the text view. Recompiles the language file, or the entire project. If successful, returns ; otherwise, returns an error code. [in] A value from the enumeration indicating what should be recompiled (the file or the whole project). Allows for a change in buffer coordinators on-the-fly. If successful, returns ; otherwise, returns an error code. [in] An object representing the new buffer coordinator. Sets the language host for the secondary language. If successful, returns ; otherwise, returns an error code. [in] An object representing the new language host. Can be a null value (see Remarks for details). Called to ensure the contained language is ready. If successful, returns ; otherwise, returns an error code. Provides support for code navigation, event generation, and the like. Creates a unique event handler name, given the class context, name of the object instance, and the name of event. If successful, returns ; otherwise, returns an error code. [in] Name of the class. [in] Name of the object. [in] Name of the event. [out] Returns the new name of an event handler. Creates an event handler given the class context, name of the object instance, name of the event, and the (unique) name of event handler, if none exists already. If successful, returns ; otherwise, returns an error code. [in] Name of the class. [in] Name of the object. [in] Name of the event. [in] Name of the event handler. [in] The file or buffer where the designer would like to put a new method. This is a unique identifier or it can be one of the following values: , or . [out] Returns a unique member ID for the event handler. [out] Returns the returned event handler body. [out] Returns a object describing the location in the source code where the event handler was inserted. Returns the base class name for the provided class. If successful, returns ; otherwise, returns an error code. [in] The full name of the class, for example, Namespace1.Namespace2.Class1. [out] The full name of the base class, for example, System.Web.UI.Page. Returns a collection of existing members that match the signature of the provided event description. If successful, returns ; otherwise, returns an error code. [in] The full name of the class from which to get the event handlers. [in] The object type name for the event. [in] The name of the event for which to get the event handlers. [out] Returns the number of members in the and arrays. [out] Returns an array of event handler names. [out] Returns an array of unique member IDs for each event handler. Returns the unique member id of an event handler matching the provided description if exists. If successful, returns . If the event handler does not exist, returns . Otherwise, returns an error code. [in] The full class name that contains the event handler. [in] The object type of the event. [in] The name of the event. [in] The name of the event handler. [out] Returns the unique member ID for the event handler. Obtains the position (for example the starting character index, starting line, ending character index, ending line, and item ID of file) in the secondary buffer coordinates or partial class file buffer coordinates, of a given a class member, that could be cached and later used to navigate to that member. If successful, returns ; otherwise, returns an error code. [in] Name of the class. [in] Unique member identifier (as might be returned from the method). [in, out] A object that is filled in with the position in the secondary buffer of the specified member. [out] Returns the item ID of the parent document. This is a unique identifier or one of the following values: , or . Returns a collection of members corresponding to the specified flags. If successful, returns ; otherwise, returns an error code. [in] Class name. [in] A combination of flags from the enumeration specifying the types of members to retrieve. [out] Returns the number of members specified in the returned and arrays. [out] Returns a list of display names for each member. [out] Returns a list of unique member identifier strings for each member. Examines the provided ID to see if it is a valid identifier for the contained language. If successful, returns ; otherwise, returns an error code. [in] An identifier of the contained language. [out] Returns nonzero (TRUE) indicating the ID is valid; otherwise, returns zero (FALSE). (C++ only: this value is returned as a VARIANT_BOOL object.) Called from a containing object indicating that a rename of a specified type was initiated. If successful, returns ; otherwise, returns an error code. [in] A value from the enumeration specifying what is being renamed. [in] The old name. [in] The new name. Provides colorization for line fragments. Colorizes the specified line fragment or text. If successful, returns ; otherwise, returns an error code. [in] Number of the line to be colorized. [in] Starting character index for the line fragment. [in] Number of characters to colorize. [in] The actual text to colorize. The parameter specifies the number of characters from this string to colorize. [in] A state value used by the colorizer representing the state of parsing at the beginning of the line. The parsing state is custom to each colorizer. [out] Color attributes of the text. [out] The parsing state at the end of the specified text. Provides creation of contained languages. Returns an object that a primary language can use to delegate certain responsibilities for managing a contained language. If successful, returns ; otherwise, returns an error code. [in] An object representing the hierarchy to which this object belongs. [in] A unique identifier for a source file or one of the following values: , , or . [in] An object representing the buffer coordinator to associate with the contained language. [out] Returns an object representing the contained language for the specified hierarchy item. Represents a host for contained languages. Enables a client to receive messages from the source text. If successful, returns ; otherwise, returns an error code. [in] An object representing the entity that is requesting notification of contained language events generated by the editor. [out] Returns a unique identifier representing the client. This value can later be used in a call to the method. Determines if code reformatting is currently allowed. If successful, returns ; otherwise, returns an error code. [out] Returns nonzero (TRUE) if the code can be reformatted; otherwise, returns zero (FALSE). Ensures that the secondary buffer is available and has no pending changes. If successful, returns ; otherwise, returns an error code. Ensures that span in the primary buffer is visible. If successful, returns ; otherwise, returns an error code. [in] A object describing the span of text to make visible. Retrieves information about the error provider. If successful, returns ; otherwise, returns an error code. [out] Name of the task provider. [out] A GUID identifying the task provider. Provides information on the base indent level and indent settings. If successful, returns ; otherwise, returns an error code. [in] The line number for the line of text in question. This is the line number in the secondary buffer (that is, it is typically relative to the first line of code). [out] Returns the exact indent string. This string is to be inserted at the beginning of each line that is reformatted and represents the base level of indentation. See Remarks for more information. [out] Returns the indent level in spaces. This value should be ignored if the parameter returns a non-empty string. [out] Size of the indent. [out] Returns nonzero (TRUE) if tabs are to be used for line indents; otherwise, returns zero (FALSE), use spaces instead. [out] Size of the tab indent, if present. If the parameter returns zero (FALSE), this value is unspecified. Returns the language token that is nearest the requested line. If successful, returns ; otherwise, returns an error code. [in] A object describing the position and extent of the token to search near. This position is based on the secondary buffer. [out] Returns a object describing the position and extent of the token that is nearest the specified token. The position is based on the primary buffer. Returns the hierarchy that contains the file displayed in the primary buffer. If successful, returns ; otherwise, returns an error code. [out] Returns an object representing the hierarchy that owns the file displayed in the primary buffer. Sends a request to insert markup. If successful, returns ; otherwise, returns an error code. [in] The fully qualified type name of the object for which the markup is to be inserted. For example, "System.Web.UI.Page". [in] A string containing the ID of the object. See Remarks for an example. Inserts a markup tag that imports the specified namespace. If successful, returns ; otherwise, returns an error code. [in] A string specifying the fully qualified namespace to import. Adds an assembly that is currently in the global assembly cache (GAC). If successful, returns ; otherwise, returns an error code. [in] A string defining the reference to be added. See Remarks for an example. Called to notify the host when the contained language changes its Fonts and Colors settings. If successful, returns ; otherwise, returns an error code. Called to notify the editor that a name has been changed. If successful, returns ; otherwise, returns an error code. [in] A value from the enumeration indicating what type of name was changed. [in] The fully qualified old name. For example, "MyNamespace.MyClass.MyMethod". [in] The fully qualified new name. For example, "MyNamespace.MyClass.MyNewMethod". Determines if the secondary buffer can be modified. If the buffer can be modified, returns ; otherwise, returns BUFFER_E_SCC_READONLY. Called by a client that is no longer interested in receiving notifications from the editor. If successful, returns ; otherwise, returns an error code. [in] The unique value that was returned from the method. Receives view change notifications from a contained language host. Called when the view has changed. Should always return (the return value is typically ignored by the contained language host). [in] Nonzero (TRUE) if the view is text-based; otherwise, zero (FALSE), the view is graphical (typically a designer window). Created by a project to provide the project name used in the creation of the contained language. Gets the name of the project for the specified item. If the method succeeds, it returns . If it fails, it returns an error code. [in] The id of the item for which to get the project name. [out] The project name for the specified item. Provides support for static event generation. Binds a static event to the specified member. If successful, returns ; otherwise, returns an error code. [in] The fully qualified name of the class the member resides in. [in] The unique ID of the member that is to handle the event. [in] The name of the object that contains the event. [in] The name of the event. Creates an event handler given the class context, name of the object type and instance, the name of the event and the (unique) name of the event handler. If successful, returns ; otherwise, returns an error code. [in] The fully qualified name of the class. [in] The fully qualified name of the object type. [in] The name of the object. [in] The name of the event. [in] The name of the event handler. [in] The file to insert into. This is a unique hierarchy identifier or one of the following values: , or . [out] Returns a string containing the member ID of the event. Returns a null value if the event handler already exists. [out] Returns a string containing the body of the event handler. Returns a null value if the event handler already exists. [in, out] Fills in a object with the position where the event handler body was inserted in the primary buffer. This insertion point is in the file specified by the parameter. This is valid only if the event handler did not already exist. Returns a collection of events that are statically handled. If successful, returns ; otherwise, returns an error code. [in] The fully qualified name of the class. [in] The fully qualified name of the object that contains the event. [out] Returns the number of event handlers specified in the lists returned in the , , and parameters. [out] Returns a list containing the event handler names. [out] Returns a list containing the display names for the event handlers. [out] Returns a list containing the event member IDs. Removes the event binding from the specified member. If successful, returns ; otherwise, returns an error code. [in] The fully qualified name of the class the member resides in. [in] The unique ID of the member that handles the event. [in] The name of the object that contains the event. [in] The name of the event. Provides additional drop-down bar client functionality. Returns the indent level for a particular drop-down bar/Window combo item. If the method succeeds, it returns . If it fails, it returns an error code. [in] The drop-down bar/Window combo. [in] Index of the item of interest. [out] Indent level of item. Represents a list of text span mappings between two buffers. Returns a copy of the current enumeration as a separate object. If successful, returns ; otherwise, returns an error code. [out] Returns a copy of this enumeration as a separate object. Returns the next set of elements from the enumeration. If successful, returns . Returns if fewer than the requested number of elements could be returned. Otherwise, returns an error code. [in] The number of elements to retrieve. Also specifies the maximum size of the array. [in, out] An array of objects to be filled in. [out] Returns the number of elements actually returned in the array. Resets the enumeration to the first element. If successful, returns ; otherwise, returns an error code. Skips over the specified number of elements. If successful, returns . Returns if the parameter is greater than the number of remaining elements. Otherwise, returns an error code. [in] Number of elements to skip. Represents a list of spans of code blocks. Returns a copy of the current enumeration as a separate object. If successful, returns ; otherwise, returns an error code. [out] Returns a copy of this enumeration as a separate object. Returns the next set of elements from the enumeration. If successful, returns . Returns if fewer than the requested number of elements could be returned. Otherwise, returns an error code. [in] The number of elements to retrieve. Also specifies the maximum size of the array. [in, out] An array of objects to be filled in. [out] Returns the number of elements actually returned in the array. Resets the enumeration to the first element. If successful, returns ; otherwise, returns an error code. Skips over the specified number of elements. If successful, returns . Returns if the parameter is greater than the number of remaining elements. Otherwise, returns an error code. [in] Number of elements to skip. Represents a list of external errors. Returns a copy of the current enumeration as a separate object. If successful, returns ; otherwise, returns an error code. [out] Returns a copy of this enumeration as a separate object. Returns the next set of elements from the enumeration. If successful, returns . Returns if fewer than the requested number of elements could be returned. Otherwise, returns an error code. [in] The number of elements to retrieve. Also specifies the maximum size of the array. [in, out] An array of objects to be filled in. [out] Returns the number of elements actually returned in the array. Resets the enumeration to the first element. If successful, returns ; otherwise, returns an error code. Skips over the specified number of elements. If successful, returns . Returns if the parameter is greater than the number of remaining elements. Otherwise, returns an error code. [in] Number of elements to skip. Provides a way to insert code snippets into a text buffer. Inserts the code snippet associated with the shortcut that can be found at the given context position in the text buffer. If the method succeeds, it returns . If it fails, it returns an error code. [in] The span (a pair of beginning and ending positions) in the text buffer that contains the snippet shortcut. [in] The span that is to be replaced by the snippet (typically includes the shortcut span). [in] Teceives notifications about the insertion process. This can be a null value. [in] GUID of the language service. Can be a null value. Default is the language service of the file. [out] Returns an object that is used while the snippet is being edited in place. Inserts snippet with the specified name at the specified position in the text buffer. If the method succeeds, it returns . If it fails, it returns an error code. [in] The full name of the code snippet. [inThe full path to the code snippet file. [in] Specifies the location in the text buffer to insert the code snippet. [in] Receives notifications about the insertion process. This can be a null value. [in] The GUID of the language service. Can be null. The default is the language service of the file. [in] This is non-zero (true) if a "disambiguation user interface (UI)" can be shown in the case where multiple snippets with the same name are found. If this value is zero (false) then the first snippet that matches the name is inserted. [out] Returns an object that is used while the snippet is being edited in place. Inserts the code snippet from the specified XML node into the text buffer at the specified position. If the method succeeds, it returns . If it fails, it returns an error code. [in] Contains the code snippet text. [in] The location in the text buffer to insert the code snippet. [in] Receives notifications about the insertion process. This can be null. [in] The GUID of the language service. Can be null. The default is the language service of the file. [in] A path that is used if the node references an external file. This is typically null. [out] The session that is used while the snippet is being edited in place. Allows a VSPackage to participate in the code snippet insertion process. Called to signal the end of the code snippet insertion and editing phase. If the method succeeds, it returns . If it fails, it returns an error code. Called to format the specified span in the specified text buffer. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object that represents the text buffer which contains the text to be formatted. [in] A object that describes the span (a pair of beginning and ending positions) of text that is to be formatted. Called to obtain an expansion function for the specified code snippet. If the method succeeds, it returns . If it fails, it returns an error code. [in] An IXMLDOMNode object that contains the code snippet expansion function definition. [in] A string containing the name of the default field (the code snippet field that is first highlighted after the code snippet is inserted). [out] Returns an object representing the expansion function to use. Called to verify that the specified location can accept the specified kind of snippet. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object that represents the text buffer where the code snippet is to be inserted. [in] A object that describes the location where the code snippet is to be inserted. [in] A string that specifies the kind of code snippet that is to be inserted. See Remarks. [out] Non-zero (TRUE) if the code snippet can be inserted into the specified location based on its kind; zero (FALSE) if the code snippet cannot be inserted. Called to verify that the specified location can accept the specified types of code snippets. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object that represents the text buffer where the code snippet is to be inserted. [in] A object that describes the location where the code snippet is to be inserted. [in] An array strings specifying the types of the code snippet to be inserted. This can be a null value if is 0. See Remarks. [in] The number of types specified in the array. [out] Non-zero (TRUE) if the code snippet can be inserted into the specified location based on its types; zero (FALSE) if the code snippet cannot be inserted. Called after the code snippet has been inserted and formatted. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object containing information about the code snippet that has just been inserted. This can be a null value. Called before the code snippet has been inserted. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object containing information about the code snippet that is about to be inserted. This can be a null value. Called when a code snippet name has been selected from an IntelliSense menu. If the method succeeds, it returns . If it fails, it returns an error code. [in] A string containing the full name of the code snippet. [in] A string containing the full path to the snippet file. Called to position the edit caret in the specified place in a code snippet after it has been inserted and formatted. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object that represents the text buffer where the code snippet has been inserted. [in] A object that describes the location where the code snippet was inserted. Represents a list of code snippets for a particular language service. Returns the number of objects represented in this enumeration. If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns the number of objects. Returns the specified number of objects from the enumeration. If the method succeeds, it returns . If it fails, it returns an error code. [in] The number of objects to retrieve. [out] An array that is filled in with the requested objects. [out] The actual number of objects retrieved. Resets the enumeration to the beginning. If the method succeeds, it returns . If it fails, it returns an error code. Represents a connection point that receives event notifications having to do with code snippets. Called when there is a change in the key binding that is associated with inserting code snippets. If the method succeeds, it returns . If it fails, it returns an error code. [in] The GUID of the command group being bound to. [in] The ID of the command in the command group being bound to. [in] Non-zero (TRUE) if the command is being bound; otherwise, zero (FALSE) if the binding is being removed. Called whenever a folder that contains snippets has been updated and the snippets from that folder have been read in. If the method succeeds, it returns . If it fails, it returns an error code. Represents an expansion function in a code snippet. Called when another field in the inserted code snippet is changed. If the method succeeds, it returns . If it fails, it returns an error code. [in] Name of the field that changed. [out] Returns non-zero (true) if this expansion function's value has changed and must be re-obtained; otherwise, returns zero (false). Returns the current value of the expansion function. If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns a string that contains the value of the expansion function. [out] Returns non-zero (true) if the expansion function has a current value; otherwise, returns zero (true). See Remarks. Returns the default string to be inserted before any template is edited. If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns a string that contains the default value. [out] Returns non-zero (true) if the expansion function has a default value; otherwise, returns zero (false). See Remarks. Returns the type of this expansion function (value or list of values). If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns a value from the enumeration to identify the expansion function. Returns the number of items in the list of values associated with the expansion function. If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns the number of values that represent this expansion function. Returns the specified value from a list of values associated with the expansion function. If the method succeeds, it returns . If it fails, it returns an error code. [in] The index of the value to retrieve. [out] Returns a string that contains the requested value. Called when the expansion function is no longer needed. If the method succeeds, it returns . If it fails, it returns an error code. Provides Insert Expansion support. Returns the current position. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. [out] The current position. Retrieves the starting and ending positions of the current expansion selection. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. [out] The start position of the expansion text span. [out] The end position of the expansion text span. Returns the text of the expansion text span. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. [out] String containing the expansion text. Returns the length of the expansion text span. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. [out] The length of the expansion text. Sets the starting and ending position of an expansion text span selection. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. [in] The start position of the expansion text span. [in] The end position of the expansion text span. Replaces the text span within an expansion selection with new text. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. [in] A string containing the new text. [in] If is true, replaces all text in the buffer (including prefix text). Otherwise, replaces anything within the selection or insert at the selection location if there is a zero-length selection. Represents the expansion manager, which knows how to find and display lists of code snippets for a particular coding language. Retrieves a list of code snippets for the specified coding language. If the method succeeds, it returns . If it fails, it returns an error code. [in] The GUID of the coding language (typically, this is the language service GUID). [in] Non-zero (TRUE) if to retrieve only the shortcut name for each snippet; otherwise, zero (FALSE) to retrieve all information. [in] An array strings specifying snippet types to obtain. This can be a null value if is 0. See Remarks. [in] The number of types specified in the array. If this is 0, all types are returned. [in] Non-zero (TRUE) if to include code snippets with "empty" types in the list (this parameter is ignored if is 0). [in] Non-zero (TRUE) if to include duplicate snippets; otherwise, duplicates are left out. [out] An object that contains the desired list of snippets. Retrieves the title and path to a snippet given its shortcut name. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object representing the client that can control what code snippets can be inserted. [in] The GUID of the coding language (typically, this is the language service GUID). [in] A string containing the shortcut name of the snippet. [in] An object used as the parent if the UI needs to be shown. This can be a null value if is zero (FALSE). [in] A object that describes the span (position and extent) where the code snippet is to be inserted. [in] Non-zero (TRUE) if to show the UI to allow the user to choose among multiple snippets with the same shortcut name. [out] Returns a string containing the full path to the snippet. [out] Returns a string containing the title of the snippet. Determines if a key has been bound to the "Invoke Snippet From Shortcut" command. If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns non-zero (TRUE) if a key has been bound; otherwise, returns zero (FALSE). Returns the path to the specified location. If the method succeeds, it returns . If it fails, it returns an error code. [in] A value from the enumeration. [out] Returns a string containing the full path to the specified location. Shows an IntelliSense list of code snippets that can be inserted into the source through the provided object. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object representing the view in which to present the list. [in] An object representing the expansion client that is used to complete the insertion of the code snippet. [in] The GUID of the coding language (typically, this is the language service GUID). [in] An array strings specifying snippet types to display. This can be a null value if is 0. See Remarks. [in] The number of types specified in the array. If this is 0, all types are displayed. [in] Non-zero (TRUE) if to include code snippets with "empty" types in the list (this parameter is ignored if is 0). [in] An array of strings specifying the snippet kinds to display. This can be a null value if is 0. See Remarks. [in] The number of kinds specified in the array. If this is 0, all kinds are displayed. [in] Non-zero (TRUE) if to include code snippets with "empty" kinds in the list (this parameter is ignored if is 0). [in] A string containing the text to show in the prompt. [in] A character that, when typed, inserts the currently selected snippet and closes the UI. If this is a null value or an empty string, typing the Enter key is the only way to insert a selected snippet. Represents the state of a newly inserted code snippet that is being edited by the user. Called to indicate the end of the current code snippet insertion process. If the method succeeds, it returns . If it fails, it returns an error code. [in] Non-zero (TRUE) if to leave the edit caret where it is; otherwise, zero (FALSE) if the edit caret should be positioned according to the code snippet template. Retrieves the declaration node for the specified field. If the method succeeds, it returns . If it fails, it returns an error code. [in] The name of the field. This can be null. See Remarks. [out] The node that represents the field's declaration node. Returns the position at which the edit caret is to be placed when the code snippet is committed to the source buffer. If the method succeeds, it returns . If it fails, it returns an error code. [out] The span that is filled in with the position and extent where the edit caret is to be positioned Retrieves the span (the position and extent) of the specified field. If the method succeeds, it returns . If it fails, it returns an error code. [in] The name of the field. [out] The span of the field. Retrieves the value of the specified field. If the method succeeds, it returns . If it fails, it returns an error code. [in] A string containing the name of the field. [out] Returns a string containing the value of the field. Returns a node from the code snippet <Header> tag. If the method succeeds, it returns . If it fails, it returns an error code. [in] A string containing the name of the XML tag to look for. This can be null. See Remarks. [out] Returns a node that represents the specified tag. Returns a node from the code snippet <Snippet> tag. If the method succeeds, it returns . If it fails, it returns an error code. [in] A string containing the name of the XML tag to look for. This can be a null value. See Remarks. [out] Returns a node that represents the specified tag. Gets the span of the code snippet. If the method succeeds, it returns . If it fails, it returns an error code. [out] The span of the code snippet. Move the highlight to the next field in order. If the method succeeds, it returns . If it fails, it returns an error code. [in] Non-zero (TRUE) if to commit all changes to the code snippet if moving off the last field; otherwise, zero (FALSE) if to move to the first field. Move the highlight to the previous field in order. If the method succeeds, it returns . If it fails, it returns an error code. Sets the position where the edit caret should be placed when the code snippet is committed to the source buffer. If the method succeeds, it returns . If it fails, it returns an error code. [in] A object that describes the position where the edit caret should go. Sets the default value for the specified field. If the method succeeds, it returns . If it fails, it returns an error code. [in] A string containing the name of the field. [in] A string containing the default value to use. Enhances IntelliSense completion set functionality for use in a non-text-view editor. Set the IntelliSense host that controls the display of the completion list. If successful, returns ; otherwise, returns an error code. [in] An object representing the IntelliSense host that displays the completion list. Updates the completion set. If successful, returns ; otherwise, returns an error code. Provides events when file extensions are changed. Called when the file extensions are changed. If the method succeeds, it returns . If it fails, it returns an error code. Use the interface to launch a modeless dialog on the background thread that will allow a user to cancel a lengthy background find or find and replace operation. Dismisses a modeless background dialog opened with . If the method succeeds, it returns . If it fails, it returns an error code. Launches a modeless dialog on the background thread with which the user can cancel a lengthy find or replace operation If the method succeeds, it returns . If it fails, it returns an error code. Repeated calls to close and re-launch the dialog rather than generating an error. Determines whether the user of the modeless dialog on the background thread has cancelled a find or replace operation. If the method succeeds, it returns . If it fails, it returns an error code. [out] True if the user has clicked cancel, otherwise false. Implements Find and Replace capabilities within your editor. Move to a specified location within a document. If the method succeeds, it returns . If it fails, it returns an error code. [in] optional - Set of text spans describing the match [in] Set selection to box or stream. Values are taken from . Provides support for returning a full 24-bit color value. Retrieves the RGB value for the specified element. If successful, returns ; otherwise, returns an error code. [in] A value from the enumeration identifying the element for which to get the color. [out] The requested RGB value. Provides additional methods for . Gets the banner attributes. If the method succeeds, it returns . If it fails, it returns an error code. The length of the banner. [out] A ULONG array of color attributes. Sets the banner attributes. If the method succeeds, it returns . If it fails, it returns an error code. The length of the banner. A ULONG array of color attributes. Supports client drawing of glyphs. Tells client to draw a glyph If the method succeeds, it returns . If it fails, it returns an error code. [in] The client’s region. [in] Currently unused [in] Handle to the device context. [in] The rectangle containing the glyph. Determines how much space to set aside for banner glyph. If the method succeeds, it returns . If it fails, it returns an error code. [in] The pixel space width. [out] The glyph width in pixels. Provides an Add method for objects. Adds objects. If the method succeeds, it returns . If it fails, it returns an error code. [in] Updates flags. For information on values for see . [in] The number of regions to add. [in] The array of objects. [out] An object that can be used to enumerate the hidden regions in the text buffer. This interface is implemented by a language service that supports statement completion and other IntelliSense features in the immediate mode of the command window. This mode occurs when the debugger is in break mode. This method is deprecated. Please use . Informs the language service that it must add or remove its from the command filter chain for the command window’s . If the method succeeds, it returns . If it fails, it returns an error code. [in] Flag that determines whether to add or remove the filter. Value is true to add. [in] The text view containing the command filter chain to be modified. [in] Flag that determines whether statement completion should be active upon return from this method. Value is true for active statement completion. If the filter is being removed, this parameter is ignored. This method is deprecated. Please use . This interface is implemented by a language service that supports statement completion and other IntelliSense features in the immediate mode of the command window. This mode occurs when the debugger is in break mode. Enables or disables statement completion. If the method succeeds, it returns . If it fails, it returns an error code. [in] Flag indicating whether to enable statement completion. True indicates statement completion is enabled. [in] If is true, the index in the current line which marks the start of the portion to be used for statement completion. Otherwise ignored. [in] If is true, the index in the current line which marks the end of the portion to be used for statement completion. If value is -1, it indicates that the rest of the line is to be used. Ignored on disable of statement completion. [in] The text view. This method is deprecated. Please use . If the method succeeds, it returns . If it fails, it returns an error code. Informs the language service that it must add or remove its from the command filter chain for the command window’s . If the method succeeds, it returns . If it fails, it returns an error code. [in] Flag that determines whether to add or remove the filter. Value is true to add. [in] The text view containing the command filter chain to be modified. [in] Flag that determines whether statement completion should be active upon return from this method. Value is true for active statement completion. If the filter is being removed, this parameter is ignored. Sets the current context for statement completion for the command window. Returns if the method succeeds. [in] The path to the file containing the current statement. [in] The text buffer containing the current statement. [in] The current statement’s text span. [in] may be used to pass additional context in future. If none is available, NULL is passed. [in] The text view. This method is deprecated. Please use . Provides methods to get the window handle of and hide the insertion point. Gets the window handle. Returns if the method is successful. [out] The window handle. Hides the insertion point. Returns if the method is successful. Used to create and display a completor window Executes the completion. If the method succeeds, it returns . If it fails, it returns an error code. [in] GUID of the command group. [in] ID of the command. [in] Flag indicating execution options. [in] The command. [out] The command after completion. Returns the completor span. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. containing the completor. Gets the height of the IntelliSense completor. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. The height of the completor. Gets the completor width. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. The width of the completor. Gets a handle to the completor window. If the method succeeds, it returns . If it fails, it returns an error code. [out] The window HWND. Hides the IntelliSense completor. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. Initializes the IntelliSense completor. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. Pointer to IVsIntellisenseHost Handle to the parent window. Determines whether the completor is active. If the method succeeds, it returns . If it fails, it returns an error code. [out] Zero (false) if the completor is not active, otherwise non-zero (true). Gets the status of the completor. If the method succeeds, it returns . If it fails, it returns an error code. The GUID of the command group. The number of commands. The commands. The command text. Sets the completor location. If the method succeeds, it returns . If it fails, it returns an error code. Pointer to the start of the completor location. Updates the IntelliSense completor. If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code. Pointer to IVsCompletionSet IntelliSense host flags. Values are taken from IntellisenseHostFlags. Implemented by clients (including ) to provide IntelliSense hosting functionality. Handles any cleanup actions after a call to the completor. If the method succeeds, it returns . If it fails, it returns an error code. Handles actions before committing the completor call. If the method succeeds, it returns . If it fails, it returns an error code. Executes the specified command. [in] The GUID of the command group. [in] The command ID. [in] Specifies how the object should execute the command. [in] The input arguments of the command. [out] The output arguments of the command. Gets the context buffer for IntelliSense. If the method succeeds, it returns . If it fails, it returns an error code. [out, retval] The context buffer. Gets the caret position relative to the context buffer. If the method succeeds, it returns . If it fails, it returns an error code. [out] Length of the context buffer. [out] Indicates the caret position index. Returns the position in the context buffer that is considered the starting context point. If the method succeeds, it returns . If it fails, it returns an error code. [out] The containing the IntelliSense context. Length of the buffer. Gets the bounding rectangle for the IntelliSense context. If the method succeeds, it returns . If it fails, it returns an error code. [in] The position of the context. [in] The length of the context. [in] Flag indicating that the context position is determined by the current caret position. True indicates use the current caret position. [out] The bounding rectangle for the IntelliSense context. [out] The top line of the context. Gets the selection relative to the context buffer. If the method succeeds, it returns . If it fails, it returns an error code. [out] defining the context selection. Gets the IntelliSense host flags from the enumeration. If the method succeeds, it returns . If it fails, it returns an error code. [out, retval] The IntelliSense host flags. Returns a handle to the host window. If the method succeeds, it returns . If it fails, it returns an error code. [out] Handle to the host window. Gets an IntelliSense service object. If the method succeeds, it returns . If it fails, it returns an error code. [out] Pointer to . Returns the smart tag window. If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns the smart tag rectangle. Gets the caret position for the text upon which IntelliSense operates. If the method succeeds, it returns . If it fails, it returns an error code. [out] The index of the caret position. Gets the selection relative to the text upon which IntelliSense operates. If the method succeeds, it returns . If it fails, it returns an error code. [out] Starting index of the subject text selection. [out] Ending index of the subject text selection. Gets the text upon which IntelliSense operates. If the method succeeds, it returns . If it fails, it returns an error code. [out, retval] The string containing the subject text. Highlights the matching brace. If the method succeeds, it returns . If it fails, it returns an error code. [in] Parameter is not used. [in] Number of matching brace pairs to highlight within the text span. [in, size_is(cSpans)] Span of text within which highlighting occurs. Queries this object for the status of one or more commands generated by user interface events. If the method succeeds, it returns . If it fails, it returns an error code. The GUID of the command group. The number of commands in . An array of structures that indicate the commands for which the caller needs status information. A structure in which to return name and/or status information of a single command. This parameter can be null to indicate that the caller does not need this information. Edits the text upon which IntelliSense operates. If the method succeeds, it returns . If it fails, it returns an error code. [in] Starting index of the subject text. [in] Ending index of the subject text. [in] The subject text. Sets the caret position relative to the context buffer. If the method succeeds, it returns . If it fails, it returns an error code. [in] Length of the context buffer. [in] Indicates the caret position index. Sets the selection relative to the context buffer. If the method succeeds, it returns . If it fails, it returns an error code. Sets the selection relative to the context buffer. Sets the selection relative to the context buffer. Sets the selection relative to the context buffer. Sets the selection relative to the context buffer. Sets the caret position relative to the text upon which IntelliSense operates. If the method succeeds, it returns . If it fails, it returns an error code. [in] Indicates the caret position index. Sets the selection relative to the text upon which IntelliSense operates. If the method succeeds, it returns . If it fails, it returns an error code. [in] Start index number for the text span defining the subject text selection. [in] End index number for the text span defining the subject text selection. Updates the completion status user interface (UI). If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the . [in] Flags whose values are taken from . Updates the smart tag window. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the interface. [in] Flags containing tip window flags. Values are taken from the interface. Updates the tip window. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to interface. [in] Tip window options. For a list of values, see interface. Used to expose method tips. Destroys the tip window and then deletes the tip. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. [in] BOOLEAN indicating that the window can be deleted. Creates the tool tip window. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. [in] A pointer to the interface. Gets the number of overloads for the current method. If the method succeeds, it returns . If it fails, it returns an error code. [out] The number of overloads. Gets the size of the language tip window. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. [in] RECT struct containing the tip window coordinates. [in] Pointer to the size of the tip. Gets the height of the tip window. If the method succeeds, it returns . If it fails, it returns an error code. [out] The height of the tip window. Initializes a language tooltip. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. [in] A pointer to the interface. Determines whether the tip is active. If the method succeeds, it returns . If it fails, it returns an error code. [out] Zero (false) if the tip is not active, otherwise non-zero (true). Scrolls to next overload of the method. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. Scrolls to the previous overload of the method. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. Updates a language tooltip. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. [in] A pointer to the interface. [in] Tip window flags. Values are taken from enumeration. Updates the tip position. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. Provides manipulation of the completor size property. Gets the completor size property If the method succeeds, it returns . If it fails, it returns an error code. [out] The completor size. Sets the completor size property. If the method succeeds, it returns . If it fails, it returns an error code. [in] The completor size. Implemented by languages that need to access the underlying text buffer to decide whether to handle clipboard and drag/drop operations. Determines whether a data object contains data that can be rendered into text. If the method succeeds, it returns . If it fails, it returns an error code. The data object. The buffer. [out] Zero (false) if the data object does not contain text data. Provides support for exception handlers in a language service. Determines the span of the catch block in a try/catch exception handler for a specified location. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object containing the text to examine. [in] The line in which to find the catch block. [in] The column in which to find the catch block [out] Flag indicating whether position is in the catch block. Value is non-zero if the position is in the catch block itself; otherwise, returns zero. [out] Returns a object describing the span of the catch block. Determines whether the specified location is contained within a specified type of exception handler block. If the method succeeds, it returns . If it fails, it returns an error code. [in] An containing the text to examine. [in] Line to examine. [in] Column to examine. [in] A value from the enumeration specifying which common block to look for. [out] Returns non-zero if and is inside the specified common language block; otherwise, returns zero. Validates the given position as a place to set an instruction or break point. If the method succeeds, it returns . If the location cannot contain an instruction point, returns ; otherwise, returns an error code. [in] An containing the text to examine. [in] Line to examine. [in] Column to examine. [out] Returns a TextSpan object containing the span of the code surrounding the specified location. Implemented for languages that need to enable drag/drop operations based on the location of the drop. Cleans up any state that was cached in the call to . If the method succeeds, it returns . If it fails, it returns an error code. The text buffer. Does the necessary setup or caching in order to quickly execute the method. The data object. The buffer. [out] Zero (false) if the document does not contain text, otherwise non-zero (true). Determines whether the data object passed to contains data that can be rendered as text for the text buffer at the specified location? If the method succeeds, it returns . If it fails, it returns an error code. The text buffer. The line number. The column number [out] Zero (false) if text data is not valid at the location, otherwise non-zero (true). Determines the number of "spaces" that should be added to the beginning of the specified line. Determines how many "spaces" to add at the start of a line. If the method succeeds, it returns . If it fails, it returns an error code. [in] An object. [in] The index of the line that needs to be indented. [out] Returns the number of spaces to add to the beginning of the line. Provides access to the entire text shown for a method in an IntelliSense Parameter Info ToolTip. Returns the text for the specified method that would appear in the ParameterInfo tooltip. If the method succeeds, it returns . If it fails, it returns an error code. in] The index of the method signature. [out] The displayable string. Provides additional methods for the interface. Gets the number of overloads of the current method. If the method succeeds, it returns . If it fails, it returns an error code. The number of overloads. Moves the tip window to the next method. If the method succeeds, it returns . If it fails, it returns an error code. [out] Flag indicating whether the tip window successfully moved. Moves the tooltip to the previous method. If the method succeeds, it returns . If it fails, it returns an error code. [out] Flag indicating whether the tip window successfully moved. Provides overrides for the default behavior of a text view’s MSAA implementation. Gets the flags to override in the text view’s accessibility state. If the method succeeds, returns ; otherwise, returns an error code. Mask indicating which bits to change. Bits set in the mask will be the bits changed. The resulting overridden/changed state flags. Discovers whether there is a global, linked undo action open. Determines whether there is a global, linked undo transaction currently in progress. If the method succeeds, it returns ; otherwise, it returns an error code. [out] Flag indicating whether there is a transaction open. True if there is a transaction in progress. Queries a linked undo set to determine if an undo action would be aborted. Queries each member of a linked undo set to determine if an undo action would be aborted. If the method succeeds, it returns . If it fails, it returns an error code. [out] If 1 (TRUE), undo action would be aborted; if 0 (FALSE) undo action would not be aborted. Manages notification of the read-only status of a view. Notifies that the view is read-only and editing commands are disabled. Returns if the method succeeds; otherwise, returns an error code. [in] GUID of the editing command. [in] Command ID of the editing command. Used to manage a list of error messages associated with a particular project. Replaces the current list of errors with the specified list. If successful, returns ; otherwise, returns an error code. [in] An object that contains a list of error objects to replace the current error list. Remove all errors from the list. If successful, returns ; otherwise, returns an error code. Retrieves a copy of the list of errors. If successful, returns ; otherwise, returns an error code. [out] Returns an object that contains a list of all errors that have been accumulated in the object. Provides event firing during execution of text buffer mapping services. Fires event when span mapping begins. Returns if the method succeeds; otherwise, returns an error code. [in] Number of spans to be mapped. [in, size_is() The spans to be mapped. Fires event when span mapping ends. Returns if the method succeeds; otherwise, returns an error code. Fires event when the text marker is invalidated. Returns if the method succeeds; otherwise, returns an error code. [in] The text buffer. [in] The text marker. Represents smart tag content. Gets information about the context menu. If the method succeeds, it returns . If it fails, it returns an error code. [out] The GUID of the context menu. [out] The menu ID of the context menu. [out] The of the context menu. Gets the position and length of the stream. If the method succeeds, it returns . If it fails, it returns an error code. [out] The position in the stream. [out] The length of the stream. Gets the index of the icon that is displayed with this smart tag data. If the method succeeds, it returns . If it fails, it returns an error code. [out] The image index. Gets the timer interval. If the method succeeds, it returns . If it fails, it returns an error code. [out] The timer interval, in milliseconds. Gets the tip text that is to be displayed. If the method succeeds, it returns . If it fails, it returns an error code. [out] The tip text to be displayed. Determines whether the data is left-justified. Non-zero (true) if the data is left-justified, otherwise zero (false). Handles the event. If the method succeeds, it returns . If it fails, it returns an error code. Handles the invocation of the event. If the method succeeds, it returns . If it fails, it returns an error code. Updates the view. If the method succeeds, it returns . If it fails, it returns an error code. Represents the window in which smart tag content is presented. Dismisses the tip window. If the method succeeds, it returns . If it fails, it returns an error code. Returns the context stream. If the method succeeds, it returns . If it fails, it returns an error code. [out] The position of the non-obscurable smart-tag-related text. [out] The length of the non-obscurable smart-tag-related text. Gets the size preferences for the tip window. If the method succeeds, it returns . If it fails, it returns an error code. [in] Coordinates of the bounding rectangle. [out] Size of the tip window. For values see . Renders the tip window. If the method succeeds, it returns . If it fails, it returns an error code. [in] The device context handle. [in] Coordinates of the bounding rectangle. [in] The color ID. [in] The text color ID. [in] Flag indicating whether the window is selected. Sets smart tag data. If the method succeeds, it returns . If it fails, it returns an error code. [in] The object. Processes Windows messages for the tip window. If the method succeeds, it returns . If it fails, it returns an error code. [in] The window handle. [in] The message ID. [in] Information about the message. [in] Information needed by the message. The result. Provides mapping services between two buffers. Enables replication from primary to secondary buffer and replication from the secondary buffer to the primary. If successful, returns ; otherwise, returns an error code. [in] A value from the enumeration describing the direction of replication to be enabled/disabled. [in] Nonzero (TRUE) to enable replication in the specified direction; otherwise, zero (FALSE) to disable replication. Returns a list of span mappings controlled by the buffer coordinator object. If successful, returns ; otherwise, returns an error code. [out] Returns an object that contains a list of objects. Maps the specified position in the primary buffer to the span in the secondary buffer. If successful, returns ; otherwise, returns an error code. [in] A character offset into the primary buffer from the beginning of the buffer. [in, out] A object that is filled in with the line, offset pair in the primary buffer for the specified position. [in, out] A object that is filled in with the line, offset pair in the secondary buffer for the corresponding primary position. Returns the primary language buffer. If successful, returns ; otherwise, returns an error code. [out] Returns an object that represents the primary buffer. Returns the secondary language buffer. If successful, returns ; otherwise, returns an error code. [out] Returns an object that represents the secondary buffer. Maps the specified position in the primary buffer to a position in the secondary buffer. If successful, returns ; otherwise, returns an error code. [in] A object describing a position in the primary buffer. [in, out] A object that is filled in with the corresponding position in the secondary buffer. Maps the specified position in the secondary buffer to a position in the primary buffer. If successful, returns ; otherwise, returns an error code. [in] A object describing a position in the secondary buffer. [in, out] A object that is filled in with the corresponding position in the primary buffer. Establishes the mapping modes for both primary and secondary buffers. If successful, returns ; otherwise, returns an error code. [in] A combination of flags from the enumeration that specifies the mapping modes for the primary buffer. [in] A combination of flags from the enumeration that specifies the mapping modes for the secondary buffer. Establishes the primary and secondary buffers that are to be managed by the buffer coordinator object. If successful, returns ; otherwise, returns an error code. [in] An object representing the primary buffer. [in] An object representing the secondary buffer. Establishes the list of mappings between the primary and secondary buffers. If successful, returns ; otherwise, returns an error code. [in] The number of mappings specified in the array. [in] An array of structures each of which specify a single mapping between the primary and secondary buffers. Adds methods to manage change markers to the interface. Determines the change tracking status of the text buffer. If the method succeeds, it returns . If it fails, it returns an error code. [in] If non-zero (TRUE), changes are being tracked in the text buffer; if zero (FALSE), changes are not being tracked. Suppresses change marking in the text buffer. If the method succeeds, it returns . If it fails, it returns an error code. [out] Specify non-zero (TRUE) to suppress change tracking; otherwise specify zero (FALSE) Examines end-of-line (EOL) markers. Returns the length in characters of the end-of-line (EOL) marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A LINEDATAEX structure. [out] A uint valid member of EOLTYPE. Returns a string containing the end-of-line (EOL) marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A LINEDATAEX structure. [out] Returns a string containing the text of the EOL marker. Returns the EOLTYPE of the end-of-line (EOL) marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A LINEDATAEX structure. [out] A uint valid member of EOLTYPE. Adds methods to examine end-of-line markers to the interface. Returns the length in characters of the text line's end-of-line marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A structure containing the text line. [out] A uint member of . Note that has been extended with . Returns a string containing the text line's end-of-line (EOL) marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A structure. [out] A string containing the text of the end-of-line marker. Returns the of the text line's end-of-line marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A structure. [out] A uint member of . Note that has been extended with . Provides client data management for the text line marker. Gets the client data. If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns the DWORD associated with the marker. Sets the client data. If the method succeeds, it returns . If it fails, it returns an error code. [in] Changes the DWORD associated with the marker. Adds methods to examine end-of-line markers to the interface. Returns the length in characters of the text line's end-of-line marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A structure containing the text line. [out] A uint member of . Note that has been extended with . Returns a string containing the end-of-line (EOL) marker terminating the text line. If the method succeeds, it returns . If it fails, it returns an error code. [in] A structure containing the text line. [out] A string containing the text of the end-of-line (EOL) marker. Returns the of the text line's end-of-line marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A structure containing the text line. [out] A uint member of . Note that has been extended with . Provides additional methods to the interface. Attempts to check a file out of SCC. If the method succeeds, it returns . If it fails, it returns an error code. [in] The text buffer for the file. [in] Name of the file to check out. Flags determining how file is editable, see . [out] true if checkout succeeded. [out] Additional status flags, may be null. For more information see . Fires this event when Replace All, In Files operation is started. If the method succeeds, it returns . If it fails, it returns an error code. Fires this event when Replace All, In Files operation ends. If the method succeeds, it returns . If it fails, it returns an error code. Returns the active or previously active view. If the method succeeds, it returns . If it fails, it returns an error code. [in] If true, then the current UI active view is returned. If false, then the last active view is returned, regardless of whether this view is currently UI active. [in] Pass null for to get the previously active code view, regardless of the text buffer that it was associated with. If you pass in a valid pointer to a buffer, then you are returned the last active view for that particular buffer. [in] View frame type. For more information see . [out] Pointer to the interface. Determines whether a file is under SCC, and if so, attempts to check it out. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the interface. [in] File name of interest. [out] true if checkout succeeded. [out] Additional status flags, may be null. For more information see . Gets the expansion manager. If the method succeeds, it returns . If it fails, it returns an error code. [out] Pointer to the expansion manager. Returns the user preferences, such as tab usage, indent size and widget margin presence for the view, frame, and language service. If the method succeeds, it returns . If it fails, it returns an error code. [out] Pointer to the view preferences. For more information about , see . [out] Pointer to the frame preferences. For more information about , see . [in, out] Pointer to the language preferences. For more information about , see . [in, out] Pointer to the font color preferences. Finds or creates an appropriate view on the specified buffer and places the selection at the specified location. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the interface. [in] GUID identifying the view. This value should always be . [in] Starting line for the selection to locate. [in] Starting index for the selection to locate. [in] Ending line for the selection to locate. [in] Ending index for the selection to locate. [in] View frame type. For more information see Moves to the specified position. If the method succeeds, it returns . If it fails, it returns an error code. [in] The text buffer. [in] GUID of the document view type. [in] The position to move to. [in] The length. [in] Indicates the include view frame type. For more information, see . Resets the colorable items. If the method succeeds, it returns . If it fails, it returns an error code. [in] The GUID of the language. Sets user preferences. If the method succeeds, it returns . If it fails, it returns an error code. [in] Values that describe the desired default view flags for all editor views. For more information, see . Can be null if view preferences are not being set. [in] Values that describe the desired default flags for all editor frames. For more information, see . Can be null if frame preferences are not being set. [in] Values that describe the desired flags for the language specified in the structure. For more information, see . Can be null if language preferences are not being set. [in] Values that describe the color and font preferences for all editor views. This parameter is for internal editor use only. Should be null when this method is called by external packages. For more information, see . Informs the user about changes in the text manager. Fired when an external marker type is registered. If the method succeeds, it returns . If it fails, it returns an error code. [in] External marker type that was registered. Fired when a view is registered. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the interface identifying the view that was registered.  Fired when a Replace All in Files operation has begun. If the method succeeds, it returns . If it fails, it returns an error code. Fired when a Replace All in Files operation has ended. If the method succeeds, it returns . If it fails, it returns an error code. Fired when a view is unregistered. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the interface identifying the view that was unregistered. Fired when the user's global preferences are changed. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the structure. This structure provides the current settings for the view. If this is non-null, preferences that specifically affect text view behavior have changed. [in] Pointer to the structure, which allows the frame to control whether the view shows horizontal or vertical scroll bars. If this is non-NULL, preferences that specifically affect code windows have changed. [in] Pointer to the relevant language as specified by the and members of the structure. If this is non-null, preferences that affect a specific language's common settings have changed. [in] Specifies color preferences. If non-null, the member of the structure indicates which colorable item provider is associated with the member. If this is non-null, preferences that affect the colors or font used by a text view have changed. Extends the functionality available through the interface by providing additional callbacks. Fires when the text on the same line as the marker has changed. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the interface for the marker. Extends the functionality available through the interface by providing additional callbacks. Called when the text associated with a marker is deleted by a user action. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the buffer. [in] Pointer to the interface for the marker. Called when user hovers the mouse pointer over the marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] The text view. [in] Pointer to the interface for the marker. [in] Flag indicating visibility of UI, true to show the UI, false to hide it. Adds methods to examine end-of-line markers to the interface. Returns the length in characters of the text line's end-of-line marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A structure containing the text line. [out] A uint member of . Note that has been extended with . Returns a string containing the end-of-line (EOL) marker terminating the text line. If the method succeeds, it returns . If it fails, it returns an error code. [in] A structure containing the text line. [out] A string containing the text of the end-of-line (EOL) marker. Returns the of the text line's end-of-line marker. If the method succeeds, it returns . If it fails, it returns an error code. [in] A structure containing the text line. [out] A uint member of . Note that has been extended with . Gets a version cookie on the data. If the method succeeds, it returns . If it fails, it returns an error code. [out] The version cookie. Adds functionality beyond . Appends view only marker types. If the method succeeds, it returns . If it fails, it returns an error code. [in] Number of view only marker types. [in] View only marker types. Returns cluster range information for the given line number and character index. If the method succeeds, it returns . If it fails, it returns an error code. [in] The line number. [in] The character index. [out] The character count. [out] The start character index. [out] The end character index. Gets the smart tag bounding rectangle. If the method succeeds, it returns . If it fails, it returns an error code. [out] The smart tag. Gets the window frame. If the method succeeds, it returns . If it fails, it returns an error code. [out] The window frame. Invoke the insertion UI of the expansions. If the method succeeds, it returns . If it fails, it returns an error code. [in] The completion set. [in] The prefix text. [in] The completion characters. [out] The insertion UI. Determines if the completor window is active. If the method succeeds, it returns to indicate active completor window. If it fails, it returns an error code. Determines if the expansion UI is active. If the method succeeds, it returns to indicate active expansion UI. If it fails, it returns an error code. Determines if the text view is read-only. If the method succeeds, it returns to indicate read-only text view. If it fails, it returns an error code. Persists outlining state for the text view. If the method succeeds, it returns . If it fails, it returns an error code. Removes view only marker types. If the method succeeds, it returns . If it fails, it returns an error code. [in] Number of view only marker types. [in] View only marker types. Sets the background color index for the text view. If the method succeeds, it returns . If it fails, it returns an error code. [in] The index of the background color. Sets the hover wait timer. If the method succeeds, it returns . If it fails, it returns an error code. Specifies the marker types to be ignored. If the method succeeds, it returns . If it fails, it returns an error code. [in] The number of marker types to be ignored. [in] The marker types to be ignored. Updates the smart tag window. If the method succeeds, it returns . If it fails, it returns an error code. [in] The smart tag window. [in] Flags indicating properties of the smart tag window. Core editor provided intellisense host for standard editor views. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.           The context buffer. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.   If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.     The "focal point" or position in the context buffer that should be considered the starting context point If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.     If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.           If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.   Host flags (see IntellisenseHostFlags enum above) If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.   If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.   If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.   If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.   If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.   If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.     The text upon which Intellisense should operate. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.Returns E_NOTIMPL if GetHostFlags()includes IHF_NOSEPARATESUBJECT. The contents of the context buffer should be considered the subject text.   If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.               Editing subject text. Return E_FAIL (or something) if text contains CR/LFs and flags contain IHF_SINGLELINESUBJECT. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.       Caret/selection setting relative to the context buffer. Any editing should be done via the buffer. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.     If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.         Caret/selection management for subject text. All return E_NOTIMPL if IHF_NOSEPARATESUBJECT is set in flags. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.   Sets the span from the primary buffer. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code. [in] The primary buffer's interface. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.     Intellisense UI handling. If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.     If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.     If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.     Provides an IntelliSense host for the text view. Creates an IntelliSense host. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the interface. [in] GUID of the text buffer coordinator for which the IntelliSense host is being created. [out, iid_is(riid)] The IntelliSense host. Implemented by project to provide single-file web form support. Adds a reference to the specified page. If successful, returns ; otherwise, returns an error code. [in] A string containing the full path to the web page to add. Returns the language's code domain object model (DOM) provider. If successful, returns ; otherwise, returns an error code. [out] Returns an object that represents the code DOM provider. Used to communicate user preferences with the text manager, views, and language services. View settings follow the text manager's settings unless a specific set of forced settings are specified when is called. Determines whether a proposed list of members is produced on the fly. Determines whether a proposed list of parameters is produced on the fly. Determines of blanks are included in cut/copy on a blank line. Determines whether language services support the dropdown or navigation bar. Hide advanced members. This parameter is irrelevant if the parameter is set to false. Allows for single-click URL navigation. Determines whether the tab character or spaces are inserted for a tab. Determines whether line numbers are shown in the selection margin. Determines whether statement completion is set through the user interface. Determines whether the smart indent option is set through the user interface. Determines whether the tree view is shown. Determines whether virtual space navigation and selection are allowed. Determines whether word wrap occurs. Specifies if a glyph should be shown to indicate a wrapped line. Specifies the Language service GUID. Specifies no indenting, block indenting, or smart indenting. Specifies the file type. Limit of MAX_EDITOR_TAB_SIZE. Limit of MAX_EDITOR_TAB_SIZE. Provides additional members for the enumeration. Line style is smart tag ephemeral. Line style is smart tag ephemeral side. Line style is smart tag factoid. Line style is smart tag factoid side. Provides additional members to the enumeration. Global (closed file capable) strict transaction. Provides additional members for the enumeration. Marker does not delete itself even if text span has zero length. The marker leaves the background color unchanged, inheriting from whatever is "behind" it. The marker leaves the foreground color unchanged, inheriting from whatever is "behind" it. The marker appears only in specific views. Provides additional members to the enumeration. Fired for a double click on the glyph (if one exists) fired for a right click on the widget margin. Provides additional members to the MARKERTYPE enumeration. Represents the last MARKERTYPE2 member. Generic bookmark/tag. The marker for matching braces. The marker for bolding the matching braces. The marker for the background of a code definition window. The marker for a selection in a code definition window. Exstencil support. The marker around a code snippet dependent field. Exstencil support. Exstencil support. The marker that highlights the path. The background marker for the refactoring window. The marker that highlights other items that are being refactored. The marker that highlights the line being refactored. A collapsible region is collapsed, with no glyph drawn. A collapsible region is expanded, with no glyph drawn. The marker for temporary smart tags, that are valid for a short length of time. The marker for smart tags that are valid for a long period of time, and are independent of user actions. Invisible smart tag marker. Visible smart tag marker. Priority level: 810. Do not use. For internal use only. The marker for unsaved tracking changes. Invisible placeholder used to allow concatenation of adjacent track changes markers. The marker for saved tracking changes. The marker for a warning. Provides additional members to the enumeration. Draw foreground text in bold. Indicates that the background color is not customizable. Indicates that the foreground color is not customizable. Forces a MB_MULTILINESPAN or MB_LINESPAN marker to paint to the closest viewable location on the line. This setting has no meaning if the marker is not MV_BORDER. Draw a rounded border. Forces a MB_MULTILINESPAN or MB_LINESPAN marker to paint a full line even if part of the marker is hidden. This setting has no meaning if the marker is not MV_BORDER. Marker for smart tags. Marker for change tracking. Creates a new outline or hidden text region over the specified text span. Determines whether a region is client- or editor-controlled. Client-defined information that is used to uniquely identify the new region. The length of the region. Determines whether the new hidden region is expanded or collapsed. For more information see the enumeration. Specifies whether a hidden (concealed) or outline (collapsible) region is created. This member is a permanent property of the region. For more information, see the enumeration. Specifies banner attributes (same as colorizer attributes). Banner text displayed when the region is collapsed. This value is ignored unless a value of is specified for . Span of text to create the new region for. For more information, see . Used to create a new span mapping. Describes the two spans that are to be mapped to each other. Any data supplied by the user. Holds data about smart tag size. Specifies the size of the struct. Defines image index types. Default image. Error. Re-factor. Passed to to return a reference to the interface. Passed to to return a reference to the interface. Passed to the method to return a reference to the interface. Extends the general definitions for text buffer errors in . Error in buffer reload. Used to represent a span of code embedded in a document. A object representing the span of embedded source code. Identifies the line the code block starts on. Used to express two corresponding spans in two separate buffers. A object representing the first span. A object representing the second span. Provides additional members to the enumeration. Indicates that the view should be read-only active in a modal state. This state allows commands to be active, even when the shell is in a modal state. Indicates that the view should be read-only. Indicates that the view should suppress status bar updates. Indicates that the view should suppress drawing of the border. This setting is intended for use when view is hosted in a dialog. Indicates that the view should not ask the buffer to track changes. Indicates that view should suppress go-back tracking. This setting is intended for use when the view is hosted in a tool window, for example. Extends the success codes for language services to return for tool tips. Indicates there is no default tool tip. Provides additional members for the enumeration. Tip window is expanded. Tip window has timer. Provides additional members for the structure. Determines whether the view should be active (allow commands to be active) when Visual Studio is in a modal state. Determines whether automatic delimiter highlighting is allowed. Determines whether drag/drop feedback is enabled. Determines whether the view should detect UTF-8 encoding. Determines whether drag/drop editing is allowed. Determines whether drag/drop moves are allowed. Determines whether the user is sent to an anchor after pressing the ESC key. Determines whether insert or overtype is enabled. This value is not persisted. Determines whether the view is read-only. Determines whether the selection margin is displayed. Determines whether track changes is enabled. Determines whether caret movements and text selections are included in undo list. Determines whether spaces and tabs are shown. Determines whether the widget margin is shown. Determines whether the view should be in the Visual Studio default mode or some editor emulation mode. Determines the size of the IntelliSense completor. Provides information about a code snippet. Provides the description for the code snippet. Provides the path to the code snippet. Provides the shortcut name for the code snippet. Provides the full title of the code snippet. Represents the VsExpansionManager coclass. Represents the expansion manager, which knows how to find and display lists of code snippets for a particular coding language. Creates a new instance of the expansion manager. Retrieves a list of code snippets for the specified coding language. See . If the method succeeds, it returns . If it fails, it returns an error code. [in] The GUID of the coding language (typically, this is the language service GUID). [in] Non-zero (TRUE) if to retrieve only the shortcut name for each snippet; otherwise, zero (FALSE) to retrieve all information. [in] An array of strings specifying snippet types to obtain. This can be a null value if is 0. See Remarks. [in] The number of types specified in the array. If this is 0, all types are returned. [in] Non-zero (TRUE) if to include code snippets with "empty" types in the list (this parameter is ignored if is 0). [in] Non-zero (TRUE) if to include duplicate snippets; otherwise, duplicates are left out. [out] An object that contains the desired list of snippets. Retrieves the title and path to a snippet given its shortcut name. See . If the method succeeds, it returns . If it fails, it returns an error code. [in] An object representing the client that can control what code snippets can be inserted. [in] The GUID of the coding language (typically, this is the language service GUID). [in] A string containing the shortcut name of the snippet. [in] An object used as the parent if the UI needs to be shown. This can be a null value if is zero (FALSE). [in] A object that describes the span (position and extent) where the code snippet is to be inserted. [in] Non-zero (TRUE) if to show the UI to allow the user to choose among multiple snippets with the same shortcut name. [out] Returns a string containing the full path to the snippet. [out] Returns a string containing the title of the snippet. Determines if a key has been bound to the "Invoke Snippet From Shortcut" command. See . If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns non-zero (TRUE) if a key has been bound; otherwise, returns zero (FALSE). Returns the path to the specified location. See If the method succeeds, it returns . If it fails, it returns an error code. [in] A value from the enumeration. [out] Returns a string containing the full path to the specified location. Shows an IntelliSense list of code snippets that can be inserted into the source through the provided object.See . If the method succeeds, it returns . If it fails, it returns an error code. [in] An object representing the view in which to present the list. [in] An object representing the expansion client that is used to complete the insertion of the code snippet. [in] The GUID of the coding language (typically, this is the language service GUID). [in] An array strings specifying snippet types to display. This can be a null value if is 0. See Remarks. [in] The number of types specified in the array. If this is 0, all types are displayed. [in] Non-zero (TRUE) if to include code snippets with "empty" types in the list (this parameter is ignored if is 0). [in] An array of strings specifying the snippet kinds to display. This can be a null value if is 0. See Remarks. [in] The number of kinds specified in the array. If this is 0, all kinds are displayed. [in] Non-zero (TRUE) if to include code snippets with "empty" kinds in the list (this parameter is ignored if is 0). [in] A string containing the text to show in the prompt. [in] A character that, when typed, inserts the currently selected snippet and closes the UI. If this is a null value or an empty string, typing the Enter key is the only way to insert a selected snippet. Represents the expansion manager, which knows how to find and display lists of code snippets for a particular coding language. Represents the expansion manager, which knows how to find and display lists of code snippets for a particular coding language. Initializes a new instance of . Retrieves a list of code snippets for the specified coding language. See . If the method succeeds, it returns . If it fails, it returns an error code. [in] The GUID of the coding language (typically, this is the language service GUID). [in] Non-zero (TRUE) if to retrieve only the shortcut name for each snippet; otherwise, zero (FALSE) to retrieve all information. [in] An array strings specifying snippet types to obtain. This can be a null value if is 0. See Remarks. [in] The number of types specified in the array. If this is 0, all types are returned. [in] Non-zero (TRUE) if to include code snippets with "empty" types in the list (this parameter is ignored if is 0). [in] Non-zero (TRUE) if to include duplicate snippets; otherwise, duplicates are left out. [out] An object that contains the desired list of snippets. Retrieves the title and path to a snippet given its shortcut name. See . If the method succeeds, it returns . If it fails, it returns an error code. [in] An object representing the client that can control what code snippets can be inserted. [in] The GUID of the coding language (typically, this is the language service GUID). [in] A string containing the shortcut name of the snippet. [in] An object used as the parent if the UI needs to be shown. This can be a null value if is zero (FALSE). [in] A object that describes the span (position and extent) where the code snippet is to be inserted. [in] Non-zero (TRUE) if to show the UI to allow the user to choose among multiple snippets with the same shortcut name. [out] Returns a string containing the full path to the snippet. [out] Returns a string containing the title of the snippet. Determines if a key has been bound to the "Invoke Snippet From Shortcut" command. See . If the method succeeds, it returns . If it fails, it returns an error code. [out] Returns non-zero (TRUE) if a key has been bound; otherwise, returns zero (FALSE). Returns the path to the specified location. See . If the method succeeds, it returns . If it fails, it returns an error code. [in] A value from the enumeration. [out] Returns a string containing the full path to the specified location. Shows an IntelliSense list of code snippets that can be inserted into the source through the provided object. See . If the method succeeds, it returns . If it fails, it returns an error code. [in] An object representing the view in which to present the list. [in] An object representing the expansion client that is used to complete the insertion of the code snippet. [in] The GUID of the coding language (typically, this is the language service GUID). [in] An array strings specifying snippet types to display. This can be a null value if is 0. [in] The number of types specified in the array. If this is 0, all types are displayed. [in] [in] Non-zero (TRUE) if to include code snippets with "empty" types in the list (this parameter is ignored if is 0). [in] An array of strings specifying the snippet kinds to display. This can be a null value if is 0. [in] The number of kinds specified in the array. If this is 0, all kinds are displayed. [in] Non-zero (TRUE) if to include code snippets with "empty" kinds in the list (this parameter is ignored if is 0). [in] A string containing the text to show in the prompt. [in] A character that, when typed, inserts the currently selected snippet and closes the UI. If this is a null value or an empty string, typing the Enter key is the only way to insert a selected snippet. Provides additional members for the enumeration. Expression found to be zero-extended ANSI characters. Used to create and display a completor window. Used to create and display a completor window. Creates a new instance of the class. Executes the completion. If the method succeeds, it returns . If it fails, it returns an error code. [in] GUID of the command group. [in] ID of the command. [in] Flag indicating execution options. [in] The command. [out] The command after completion. Gets the completion span. If the method succeeds, it returns . If it fails, it returns an error code. [in] The containing the completor. Gets the height of the IntelliSense completor. If the method succeeds, it returns . If it fails, it returns an error code. The height of the completor. Returns the width of the completion span. If the method succeeds, it returns . If it fails, it returns an error code. The width of the completion span. Gets the handle of the completor window. If the method succeeds, it returns . If it fails, it returns an error code. The window handle. Hides the completor. If the method succeeds, it returns . If it fails, it returns an error code. Initializes the IntelliSense completor. If the method succeeds, it returns . If it fails, it returns an error code. The completor’s host. Handle of the completor’s parent window. Determines whether the completor is active. If the method succeeds, it returns . If it fails, it returns an error code. {out] False if the completor is not active, otherwise, true. Gets the status of the completor. If the method succeeds, it returns . If it fails, it returns an error code. The GUID of the command group. The number of commands. The commands. The command text. Sets the location of the IntelliSense completor. If the method succeeds, it returns . If it fails, it returns an error code. The completor location. Updates the completor. If the method succeeds, it returns . If it fails, it returns an error code. The completion set. Flags indicating update options. Taken from . Used to expose method tips. Used to expose method tips. Creates a new instance of the class. Destroys the tip window and then deletes the tip. If the method succeeds, it returns . If it fails, it returns an error code. [in] BOOLEAN indicating that the window can be deleted. Creates the tool tip window. If the method succeeds, it returns . If it fails, it returns an error code. [in] Pointer to the tip window interface. Gets the number of overloads for the current method. If the method succeeds, it returns . If it fails, it returns an error code. [out] The number of overloads. Gets the size of the language tip window. If the method succeeds, it returns . If it fails, it returns an error code. [in] RECT structure containing the tip window coordinates. [in] The size of the tip window. Gets the height of the tip window. If the method succeeds, it returns . If it fails, it returns an error code. [out] The height of the tip window. Initializes a language tooltip. If the method succeeds, it returns . If it fails, it returns an error code. [out] Pointer to the host for the tool tip. Determines whether the tip is active. If the method succeeds, it returns . If it fails, it returns an error code. [out] True if the tip is active; otherwise, false. Scrolls to the next overload of the method. If the method succeeds, it returns . If it fails, it returns an error code. Scrolls to the previous overload of the method. If the method succeeds, it returns . If it fails, it returns an error code. Updates a language tool tip. If the method succeeds, it returns . If it fails, it returns an error code. [in] A pointer to the tip window. [in] Tip window flags. Values are taken from enumeration. Updates the tip position. If the method succeeds, it returns . If it fails, it returns an error code. Controls interaction with a tip window. Controls interaction with a tip window. Initializes a new instance of . The window is being dismissed by the view. If the method succeeds, it returns . If it fails, it returns an error code. Returns the context stream (the position and length of text in the buffer that should not be obscured by the tip window, but to which the content of the tip is related). If the method succeeds, it returns . If it fails, it returns an error code. [out] The position in the stream. [out] The length of the stream. Returns the size preferences for a tip window. If the method succeeds, it returns . If it fails, it returns an error code. [in] Coordinates of the bounding rectangle. [out] Size of the tip window. For values see . Renders the tip window. If the method succeeds, it returns . If it fails, it returns an error code. The device context handle. [in] Coordinates of the bounding rectangle. [in] The color ID. [in] The text color ID. [in] Flag indicating whether the window is selected. Sets smart tag data. If the method succeeds, it returns . If it fails, it returns an error code. [in] The . Processes Windows messages for the tip window. If the method succeeds, it returns . If it fails, it returns an error code. [in] The window handle. [in] The message ID. [in] Information about the message. [in] Information needed by the message. The result. Provides mapping services between two buffers. See . Provides mapping services between two buffers. See . Creates a new instance of the class. Enables replication from primary to secondary buffer and replication from the secondary buffer to the primary. If successful, returns ; otherwise, returns an error code. [in] A value from the enumeration describing the direction of replication to be enabled/disabled. [in] Nonzero (TRUE) to enable replication in the specified direction; otherwise, zero (FALSE) to disable replication. Returns a list of span mappings controlled by the buffer coordinator object. If successful, returns ; otherwise, returns an error code. [out] Returns an object that contains a list of objects. Maps the specified position in the primary buffer to the span in the secondary buffer. If successful, returns ; otherwise, returns an error code. [in] A character offset into the primary buffer from the beginning of the buffer. [in, out] A object that is filled in with the line, offset pair in the primary buffer for the specified position. [in, out] A object that is filled in with the line, offset pair in the secondary buffer for the corresponding primary position. Returns the primary language buffer. If successful, returns ; otherwise, returns an error code. [out] Returns an object that represents the primary buffer. Returns the secondary language buffer. If successful, returns ; otherwise, returns an error code. [out] Returns an object that represents the secondary buffer. Maps the specified position in the primary buffer to a position in the secondary buffer. If successful, returns ; otherwise, returns an error code. [in] A object describing a position in the primary buffer. [in, out] A object that is filled in with the corresponding position in the secondary buffer. Maps the specified position in the secondary buffer to a position in the primary buffer. If successful, returns ; otherwise, returns an error code. [in] A object describing a position in the secondary buffer. [in, out] A object that is filled in with the corresponding position in the primary buffer. Establishes the mapping modes for both primary and secondary buffers. If successful, returns ; otherwise, returns an error code. [in] A combination of flags from the enumeration that specifies the mapping modes for the primary buffer. [in] A combination of flags from the enumeration that specifies the mapping modes for the secondary buffer. Establishes the primary and secondary buffers that are to be managed by the buffer coordinator object. If successful, returns ; otherwise, returns an error code. [in] An object representing the primary buffer. [in] An object representing the secondary buffer. Establishes the list of mappings between the primary and secondary buffers. If successful, returns ; otherwise, returns an error code. [in] The number of mappings specified in the array. [in] An array of structures each of which specify a single mapping between the primary and secondary buffers. Provides additional members to the enumeration. If text appears to be ANSI (American National Standards Institute), don't convert it. Turn off auto-detection of UTF8 without sig.