共用方式為


__VSHPROPID2 Enum

Definition

Adds members to __VSHPROPID enumeration.

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

Fields

Name Value Description
VSHPROPID_FIRST2 -2092

Indicates the first property ID.

VSHPROPID_SupportedMyApplicationTypes -2092

BSTR. Optional. semi-colon delimited list of application-types supported for project-systems that support My.Application. The property-page that exposes information about My.Application can use this list to determine which values are located in the application-type drop-down menu as selectable choices for the user.

VSHPROPID_ExcludeFromExportItemTemplate -2091

BOOL. Optional. By default, is false. true if the project item cannot be exported through export item template.

VSHPROPID_NoDefaultNestedHierSorting -2090

BOOL. Optional. true if the hierarchy does not want nested hierarchies sorted first and items after, and sorted alphabetically (like solution folders).

VSHPROPID_PriorityPropertyPagesCLSIDList -2089

BSTR. Optional. Semi-colon delimited ordered list of CLSIDs of the preferred property pages.

VSHPROPID_ProjectDesignerEditor -2088

GUID. Optional. GUID of the Project Designer Editor that the project uses to change project properties.

VSHPROPID_DisableApplicationSettings -2087

BOOL. Optional. Set this to true in your hierarchy to disable Application Settings design time support in your project.

VSHPROPID_CategoryGuid -2086

GUID to identify the family/category of this non-solution based Hierarchy (for example, Portfolio Project Hierarchy).

VSHPROPID_DebuggerSourcePaths -2085

BSTR. Optional. Semi-colon delimited list of paths where the debugger looks for source.

VSHPROPID_AppTitleBarTopHierarchyName -2084

BSTR. Optional. Enables the hierarchy to put its top-most name (solution or server) into the Title bar of the app, such as YourName part of "YourName - Microsoft Visual Studio."

VSHPROPID_EnableDataSourceWindow -2083

BOOL. Optional. Set this to true in your hierarchy to disable the Data Source Window for this project.

VSHPROPID_UseInnerHierarchyIconList -2082

BOOL. Optional. Set this to true in the outer hierarchy if you want the icon for an inner (nested) hierarchy root to come from the inner hierarchy image list. By default, we are getting that icon from the outer hierarchy image list.

VSHPROPID_Container -2081

BOOL. Optional. true if the item is a container (it may not be expandable, but it contains items). Support this property if your folder is not expandable but contains items that should be included in SCC operations.

VSHPROPID_SuppressOutOfDateMessageOnBuild -2080

BOOL. Optional. true if the project does not want to participate in the "this configuration is out of date" message on Build/F5.

VSHPROPID_DesignerHiddenCodeGeneration -2079

I4 indicates which code is supposed to go to the hidden designer file. Bit flag values in __VSDESIGNER_HIDDENCODEGENERATION.

VSHPROPID_IsUpgradeRequired -2078

BOOL. Optional. true if the item or any of its children are either already in the process of upgrading or must be upgraded.

VSHPROPID_IntellisenseUnknown -2077

IUnknown. Optional. Returns the IUnknown of the Intellisense compiler that is used by the project system.

VSHPROPID_SupportsProjectDesigner -2076

BOOL. Optional. true if the project uses a Project Designer Editor instead of the property page frame to change project properties.

VSHPROPID_KeepAliveDocument -2075

BOOL. Optional. true if the document should be kept alive in the project regardless of opened/closed state.

VSHPROPID_IsLinkFile -2074

BOOL. Optional. true if the file is a link file.

VSHPROPID_DebuggeeProcessId -2073

Process ID of debugging target if known; otherwise, zero.

VSHPROPID_StatusBarClientText -2072

BSTR. Hierarchy scoped text for Client Text field of status bar. This text is displayed while the given hierarchy is the active hierarchy. VT_EMPTY clears hierarchy scoped text and resets to global text specified by the application.

VSHPROPID_ChildrenEnumerated -2071

BOOL. Optional. Returns true if children have been enumerated. Typically, this is of interest only for projects where enumerating children can be expensive, that is, Web projects.

VSHPROPID_AddItemTemplatesGuid -2070

GUID. Optional. Alternate project type GUID to use to get add item templates.

VSHPROPID_CfgBrowseObjectCATID -2069

GUID. Optional. Intrinsic Extender CATID of the configuration BrowseObject for the given IVsHierarchy Itemid.

VSHPROPID_BrowseObjectCATID -2068

GUID. Optional. Intrinsic Extender CATID of the BrowseObject for the given IVsHierarchy Itemid. For VSITEMID_ROOT, this corresponds to the object that is used to build the Project.Properties collection.

VSHPROPID_ExtObjectCATID -2067

GUID. Optional. Intrinsic Extender CATID of the ExtObject (Automation Object) for the given IVsHierarchy Itemid. For VSITEMID_ROOT this corresponds to the type of the 'Project' object.

VSHPROPID_CfgPropertyPagesCLSIDList -2066

BSTR. Optional. Semicolon-delimited list of cslids of the configuration-dependent property pages.

VSHPROPID_PropertyPagesCLSIDList -2065

BSTR. Optional. Semicolon-delimited list of clsids of the configuration-independent property pages.

Remarks

COM Signature

From vsshell80.idl:

enum __VSHPROPID2  
{  
    VSHPROPID_PropertyPagesCLSIDList    = -2065,  
    VSHPROPID_CfgPropertyPagesCLSIDList = -2066,  
    VSHPROPID_ExtObjectCATID            = -2067,  
    VSHPROPID_BrowseObjectCATID         = -2068,  
    VSHPROPID_CfgBrowseObjectCATID      = -2069,  
    VSHPROPID_AddItemTemplatesGuid      = -2070,  
    VSHPROPID_ChildrenEnumerated        = -2071,  
    VSHPROPID_StatusBarClientText       = -2072,  
    VSHPROPID_DebuggeeProcessId         = -2073,  
    VSHPROPID_IsLinkFile                = -2074,  
    VSHPROPID_KeepAliveDocument         = -2075,  
    VSHPROPID_SupportsProjectDesigner   = -2076,  
    VSHPROPID_IntellisenseUnknown       = -2077,  
    VSHPROPID_IsUpgradeRequired         = -2078,  
    VSHPROPID_DesignerHiddenCodeGeneration = -2079,  
    VSHPROPID_SuppressOutOfDateMessageOnBuild = -2080,  
    VSHPROPID_Container                 = -2081,  
    VSHPROPID_UseInnerHierarchyIconList = -2082,  
    VSHPROPID_EnableDataSourceWindow   = -2083,  
    VSHPROPID_AppTitleBarTopHierarchyName  = -2084,  
    VSHPROPID_DebuggerSourcePaths          = -2085,  
    VSHPROPID_CategoryGuid            = -2086,  
    VSHPROPID_DisableApplicationSettings = -2087,  
    VSHPROPID_ProjectDesignerEditor        = -2088,  
    VSHPROPID_PriorityPropertyPagesCLSIDList = -2089,  
    VSHPROPID_NoDefaultNestedHierSorting  = -2090,  
    VSHPROPID_ExcludeFromExportItemTemplate = -2091,  
    VSHPROPID_SupportedMyApplicationTypes = -2092,  
    VSHPROPID_FIRST2               = -2092  
};  
typedef [public] DWORD VSHPROPID2;  

Applies to