共用方式為


__VSPROPID Enumeration

Identifies property settings for a solution.

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

Syntax

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

Members

Member name Description
VSPROPID_LAST Specifies last VSPROPID_.
VSPROPID_SolutionDirectory BSTR: Directory where solution file is saved.
VSPROPID_SolutionFileName BSTR; Full path to solution file.
VSPROPID_UserOptionsFileName BSTR: Full path to user options file.
VSPROPID_SolutionBaseName BSTR: (Get/Set) base name of solution file.
VSPROPID_IsSolutionDirty BOOLEAN: true if solution file is dirty.
VSPROPID_IsSolutionOpen BOOLEAN: true if a solution file is open.
VSPROPID_ProjectCount I4: Count of projects open in solution.
VSPROPID_RegisteredProjExtns BSTR: Semicolon-separated list of all project extensions.
VSPROPID_OpenProjectFilter BSTR: Filter/extension list used in Open Project dialog box.
VSPROPID_FileDefaultCodePage I4: Codepage for saving files (CP_ACP/CP_WINUNICODE).
VSPROPID_SolutionFileNameBeingLoaded BSTR: Full path to file being opened (valid only during open).
VSPROPID_SolutionNodeCaption BSTR: Caption for solution node in Project Explorer.
VSPROPID_IsSolutionOpening BOOLEAN: true if a solution file is being opened.
VSPROPID_IsSolutionSaveAsRequired BOOLEAN: true if saving the solution will require a Save As dialog box.
VSPROPID_CountOfProjectsBeingLoaded I4: Count of projects in file being opened (valid only during open).
VSPROPID_SolutionPropertyPages BSTR: A semicolon-delimited list of clsids of solution-level property pages.
VSPROPID_FIRST Specifies first VSPROPID_.

Remarks

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

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace