IVsExpansionClient Methods

 

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

NameDescription
System_CAPS_pubmethodEndExpansion()

Called to signal the end of the code snippet insertion and editing phase.

System_CAPS_pubmethodFormatSpan(IVsTextLines^, array<TextSpan>^)

Called to format the specified span in the specified text buffer.

System_CAPS_pubmethodGetExpansionFunction(IXMLDOMNode^, String^, IVsExpansionFunction^)

Called to obtain an expansion function for the specified code snippet.

System_CAPS_pubmethodIsValidKind(IVsTextLines^, array<TextSpan>^, String^, Int32)

Called to verify that the specified location can accept the specified kind of snippet.

System_CAPS_pubmethodIsValidType(IVsTextLines^, array<TextSpan>^, array<String^>^, Int32, Int32)

Called to verify that the specified location can accept the specified types of code snippets.

System_CAPS_pubmethodOnAfterInsertion(IVsExpansionSession^)

Called after the code snippet has been inserted and formatted.

System_CAPS_pubmethodOnBeforeInsertion(IVsExpansionSession^)

Called before the code snippet has been inserted.

System_CAPS_pubmethodOnItemChosen(String^, String^)

Called when a code snippet name has been selected from an IntelliSense menu.

System_CAPS_pubmethodPositionCaretForEditing(IVsTextLines^, array<TextSpan>^)

Called to position the edit caret in the specified place in a code snippet after it has been inserted and formatted.

Return to top
Show: