Share via


IVsExpansionFunction Members

Include Protected Members
Include Inherited Members

Represents an expansion function in a code snippet.

The IVsExpansionFunction type exposes the following members.

Methods

 

Name

Description

Public method

FieldChanged

Called when another field in the inserted code snippet is changed.

Public method

GetCurrentValue

Returns the current value of the expansion function.

Public method

GetDefaultValue

Returns the default string to be inserted before any template is edited.

Public method

GetFunctionType

Returns the type of this expansion function (value or list of values).

Public method

GetListCount

Returns the number of items in the list of values associated with the expansion function.

Public method

GetListText

Returns the specified value from a list of values associated with the expansion function.

Public method

ReleaseFunction

Called when the expansion function is no longer needed.

Top

See Also

Reference

IVsExpansionFunction Interface

Microsoft.VisualStudio.TextManager.Interop Namespace