共用方式為


_ExpansionToken Enum

Definition

Specifies an expansion path typically associated with code snippet locations.

public enum class _ExpansionToken
public enum class _ExpansionToken
enum _ExpansionToken
public enum _ExpansionToken
type _ExpansionToken = 
Public Enum _ExpansionToken
Inheritance
_ExpansionToken

Fields

Name Value Description
ET_MyDocs 1

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 2

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.

Applies to