Partilhar via


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

Syntax

'Declaração
Public Enumeration _ExpansionToken
public enum _ExpansionToken
public enum class _ExpansionToken
type _ExpansionToken
public enum _ExpansionToken

Members

Member name Description
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#".
ET_InstallRoot The installation root for Visual Studio, for example, "C:\Program Files\Microsoft Visual Studio 10".

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace