Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

IVsExpansionSession Members

Represents the state of a newly inserted code snippet that is being edited by the user.

The IVsExpansionSession type exposes the following members.

  NameDescription
Public method EndCurrentExpansion Called to indicate the end of the current code snippet insertion process.
Public method GetDeclarationNode Retrieves the declaration node for the specified field.
Public method GetEndSpan
Public method GetFieldSpan
Public method GetFieldValue Retrieves the value of the specified field.
Public method GetHeaderNode Returns a node from the code snippet <Header> tag.
Public method GetSnippetNode Returns a node from the code snippet <Snippet> tag.
Public method GetSnippetSpan
Public method GoToNextExpansionField Move the highlight to the next field in order.
Public method GoToPreviousExpansionField Move the highlight to the previous field in order.
Public method SetEndSpan
Public method SetFieldDefault Sets the default value for the specified field.
Top

Community Additions

ADD
Show:
© 2015 Microsoft