Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

_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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.