_ExpansionToken Enumeration
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

_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
public enum _ExpansionToken
public enum _ExpansionToken

 Member nameDescription
ET_InstallRootThe installation root for Visual Studio. For example, "C:\Program Files\Microsoft Visual Studio 8". 
ET_MyDocsThe user's document folder where Visual Studio stores user-specific settings. For example, "C:\Documents and Settings\[username]\My Documents\Visual Studio 2005". Code snippets would then appear under that path in "Code Snippets\[languageName]\My Code Snippets", where [languageName] is a language name such as "C#". 

COM Signature

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.

© 2016 Microsoft