_ExpansionToken Enumeration

 

Specifies an expansion path typically associated with code snippet locations.

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

public enum _ExpansionToken

Member nameDescription
ET_InstallRoot

The installation root for Visual Studio, for example, "C:\Program Files\Microsoft Visual Studio 10".

ET_MyDocs

The user document folder where Visual Studio stores user-specific settings, for example, "C:\Documents and Settings\[username]\My Documents\Visual Studio 2005". Code snippets will appear under that path in "Code Snippets\[languageName]\My Code Snippets", where [languageName] is a language name such as "C#".

From textmgr2.idl:

enum _ExpansionToken {
   ET_MyDocs      = 1,
   ET_ProjDir     = 2,
   ET_InstallRoot = 3,
   ET_ProjItemDir = 4
};
typedef DWORD ExpansionToken;

These values are passed to the GetTokenPath method in the IVsExpansionManager interface.

Return to top
Show: