共用方式為


__VSPROPID2 Enumeration

Provides additional members for the __VSPROPID enumeration. Identifies property setting for a solution.

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

Syntax

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

Members

Member name Description
VSPROPID_IsSolutionNodeHidden BOOLEAN: true if the solution node is hidden in the integrated development environment (IDE).
VSPROPID_DeferredSaveSolution BOOLEAN: is the Solution "zero-impact" (permanent save is performed explicitly through File.SaveAll).
VSPROPID_SimplifiedConfigurations BOOLEAN: true if the solution is in simplified configuration mode.
VSPROPID_IsSolutionClosing BOOLEAN: true if a solution file being closed.
VSPROPID_IsAProjectClosing IUnknown interface for IVsHierarchy of project being closed.
VSPROPID_IsSolutionOpeningDocs BOOLEAN: true if the solution re-opening the documents that were open when the solution was last closed.
VSPROPID_IsOpenNotificationPending BOOLEAN: true if the OnAfterOpenSolution notification is pending. This occurs when a new project is being created by using a new solution.
VSPROPID_ProjectLoadSecurityDialogState I4: State of the project load security dialog kept between different language packages.
VSPROPID_SolutionUserFileCreatedOnThisComputer BOOLEAN: true if the .suo file that accompanies the solution file was originally created on the same computer it is being opened on. See ReadUserOptions. Read only.
VSPROPID_NewProjectDlgPreferredLanguage BSTR: Preferred language for the New Project dialog; if there is no preferred language an empty length string is returned.

If there is a preferred language, then the non-preferred language project types are displayed under an "Other Languages" node in the New Project dialog. The preferred language is set by the user's choice of development settings in the "Import and Export Settings" dialog.

VSPROPID_FIRST2 Indicates the first VSPROPID_.

Remarks

The table below lists information about the property, not the value of the enumeration member.

COM Signature

From vsshell80.idl:

enum __VSPROPID2
{
    VSPROPID_IsSolutionNodeHidden       = -8017,
    VSPROPID_DeferredSaveSolution       = -8018,
    VSPROPID_SimplifiedConfigurations   = -8019,
    VSPROPID_IsSolutionClosing          = -8020,
    VSPROPID_IsAProjectClosing          = -8021,
    VSPROPID_IsSolutionOpeningDocs      = -8022,
    VSPROPID_IsOpenNotificationPending = -8023,
    VSPROPID_ProjectLoadSecurityDialogState = -8024,
    VSPROPID_SolutionUserFileCreatedOnThisComputer = -8025,
    VSPROPID_NewProjectDlgPreferredLanguage = -8026,
    VSPROPID_FIRST2                     = -8026
};
typedef [public] DWORD VSPROPID2;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace