IVsExpansionSession Methods

 

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

NameDescription
System_CAPS_pubmethodEndCurrentExpansion(Int32)

Called to indicate the end of the current code snippet insertion process.

System_CAPS_pubmethodGetDeclarationNode(String^, IXMLDOMNode^)

Retrieves the declaration node for the specified field.

System_CAPS_pubmethodGetEndSpan(array<TextSpan>^)

Returns the position at which the edit caret is to be placed when the code snippet is committed to the source buffer.

System_CAPS_pubmethodGetFieldSpan(String^, array<TextSpan>^)

Retrieves the span (the position and extent) of the specified field.

System_CAPS_pubmethodGetFieldValue(String^, String^)

Retrieves the value of the specified field.

System_CAPS_pubmethodGetHeaderNode(String^, IXMLDOMNode^)

Returns a node from the code snippet <Header> tag.

System_CAPS_pubmethodGetSnippetNode(String^, IXMLDOMNode^)

Returns a node from the code snippet <Snippet> tag.

System_CAPS_pubmethodGetSnippetSpan(array<TextSpan>^)

Gets the span of the code snippet.

System_CAPS_pubmethodGoToNextExpansionField(Int32)

Move the highlight to the next field in order.

System_CAPS_pubmethodGoToPreviousExpansionField()

Move the highlight to the previous field in order.

System_CAPS_pubmethodSetEndSpan(TextSpan)

Sets the position where the edit caret should be placed when the code snippet is committed to the source buffer.

System_CAPS_pubmethodSetFieldDefault(String^, String^)

Sets the default value for the specified field.

Return to top
Show: