Share via


IVsExpansionSession Members

Include Protected Members
Include Inherited Members

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

The IVsExpansionSession type exposes the following members.

Methods

 

Name

Description

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

See Also

Reference

IVsExpansionSession Interface

Microsoft.VisualStudio.TextManager.Interop Namespace