共用方式為


IVsExpansionClient Members

Include Protected Members
Include Inherited Members

Allows a VSPackage to participate in the code snippet insertion process.

The IVsExpansionClient type exposes the following members.

Methods

  Name Description
Public method EndExpansion Called to signal the end of the code snippet insertion and editing phase.
Public method FormatSpan
Public method GetExpansionFunction Called to obtain an expansion function for the specified code snippet.
Public method IsValidKind
Public method IsValidType
Public method OnAfterInsertion Called after the code snippet has been inserted and formatted.
Public method OnBeforeInsertion Called before the code snippet has been inserted.
Public method OnItemChosen Called when a code snippet name has been selected from an IntelliSense menu.
Public method PositionCaretForEditing

Top

See Also

Reference

IVsExpansionClient Interface

Microsoft.VisualStudio.TextManager.Interop Namespace