共用方式為


__VSHPROPID2 Enumeration

Adds members to __VSHPROPID enumeration.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Public Enumeration __VSHPROPID2
'用途
Dim instance As __VSHPROPID2
public enum __VSHPROPID2
public enum class __VSHPROPID2
type __VSHPROPID2
public enum __VSHPROPID2

Members

Member name Description
VSHPROPID_PropertyPagesCLSIDList BSTR. Optional. Semicolon-delimited list of clsids of the configuration-independent property pages.
VSHPROPID_CfgPropertyPagesCLSIDList BSTR. Optional. Semicolon-delimited list of cslids of the configuration-dependent property pages.
VSHPROPID_ExtObjectCATID 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_BrowseObjectCATID 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_CfgBrowseObjectCATID GUID. Optional. Intrinsic Extender CATID of the configuration BrowseObject for the given IVsHierarchy Itemid.
VSHPROPID_AddItemTemplatesGuid GUID. Optional. Alternate project type GUID to use to get add item templates.
VSHPROPID_ChildrenEnumerated 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_StatusBarClientText 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_DebuggeeProcessId Process ID of debugging target if known; otherwise, zero.
VSHPROPID_IsLinkFile BOOL. Optional. true if the file is a link file.
VSHPROPID_KeepAliveDocument BOOL. Optional. true if the document should be kept alive in the project regardless of opened/closed state.
VSHPROPID_SupportsProjectDesigner BOOL. Optional. true if the project uses a Project Designer Editor instead of the property page frame to change project properties.
VSHPROPID_IntellisenseUnknown IUnknown. Optional. Returns the IUnknown of the Intellisense compiler that is used by the project system.
VSHPROPID_IsUpgradeRequired BOOL. Optional. true if the item or any of its children are either already in the process of upgrading or must be upgraded.
VSHPROPID_DesignerHiddenCodeGeneration I4 indicates which code is supposed to go to the hidden designer file. Bit flag values in __VSDESIGNER_HIDDENCODEGENERATION.
VSHPROPID_SuppressOutOfDateMessageOnBuild BOOL. Optional. true if the project does not want to participate in the "this configuration is out of date" message on Build/F5.
VSHPROPID_Container 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_UseInnerHierarchyIconList 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_EnableDataSourceWindow BOOL. Optional. Set this to true in your hierarchy to disable the Data Source Window for this project.
VSHPROPID_AppTitleBarTopHierarchyName 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_DebuggerSourcePaths BSTR. Optional. Semi-colon delimited list of paths where the debugger looks for source.
VSHPROPID_CategoryGuid GUID to identify the family/category of this non-solution based Hierarchy (for example, Portfolio Project Hierarchy).
VSHPROPID_DisableApplicationSettings BOOL. Optional. Set this to true in your hierarchy to disable Application Settings design time support in your project.
VSHPROPID_ProjectDesignerEditor GUID. Optional. GUID of the Project Designer Editor that the project uses to change project properties.

VSHPROPID_SupportsProjectDesigner should be set to VARIANT_TRUE if a ProjectDesignerEditor GUID is returned.

This GUID should correspond to an IVsEditorFactory that starts an editor for the Project Properties. A Project Designer is an editor for Project properties that is opened as a document associated with the root of the project.

See IVsSpecifyProjectDesignerPages for more information.

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

A Project Designer that shows config independent and config dependent property pages in a flat list should use this order as the preferred order for the pages. A project that uses the standard property page frame can ignore this property because the property page frame does not mix the two types of pages in a flat list.

VSHPROPID_NoDefaultNestedHierSorting BOOL. Optional. true if the hierarchy does not want nested hierarchies sorted first and items after, and sorted alphabetically (like solution folders).
VSHPROPID_ExcludeFromExportItemTemplate BOOL. Optional. By default, is false. true if the project item cannot be exported through export item template.
VSHPROPID_SupportedMyApplicationTypes 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_FIRST2 Indicates the first property ID.

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;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace