共用方式為


__VSSPROPID Enumeration

Specifies shell property settings for the environment.

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

Syntax

'Declaration
Public Enumeration __VSSPROPID
public enum __VSSPROPID
public enum class __VSSPROPID
type __VSSPROPID
public enum __VSSPROPID

Members

Member name Description
VSSPROPID_AddExistItemFilter BSTR. Add existing item filter list string.
VSSPROPID_AnimationsOn BOOL. true if environment animations are on.
VSSPROPID_AppDataDir BSTR. Application data directory.
VSSPROPID_DetectFileChanges BOOL. true if editors are supposed to watch for file changes.
VSSPROPID_FindInFilesFilter BSTR. Find in files filter list string.
VSSPROPID_FIRST Flag indicating the first property identifier in this group of identifiers.
VSSPROPID_hinstComplexScript Obsolete. Do not use.
VSSPROPID_hinstMSO 4. hinst of mso*.dll.
VSSPROPID_hmsoinstMSO I4. HMSOINST of mso*.dll.
VSSPROPID_InstallDirectory BSTR. Directory where visual studio executable was installed.
VSSPROPID_IsComplexScriptAvail Obsolete. Do not use.
VSSPROPID_IsInCommandLineMode BOOL. true if environment is running as a command line tool. Do not display any UI in this case. false if the environment is to display ordinary UI.
VSSPROPID_IsInOfficeMode BOOL true if environment is in Office mode.
VSSPROPID_IsInteractive Obsolete. Do not use. Use VSSPROPID_IsInCommandLineMode instead.
VSSPROPID_LAST Flag indicating the last property identifier in this group of identifiers.
VSSPROPID_MDIState BOOL VARIANT_TRUE if IDE in MDI state, else VARIANT_FALSE.
VSSPROPID_ObjectMgrTypesImgList I4. Handle to environment's image list for symbol types (class, interface, method, etc). Do not free because the environment frees it during final shutdown.
VSSPROPID_OpenFileFilter BSTR. Open file filter list string.
VSSPROPID_OpenFromCurrDocDir BOOL true if OpenFile operation starts in current document's directory.
VSSPROPID_PreBuildRunPreview I4 One of PBRP_ values (PBRP_SaveChanges/PBRP_DontSaveChanges/PBRP_PromptForSave)
VSSPROPID_PreBuildRunPreviewSaveOpts I4. __VSRDTSAVEOPTIONS to pass to SaveDocuments when VSSPROPID_PreBuildRunPreview does not equal PBRP_DontSaveChanges.
VSSPROPID_ProcessingPendingMessageFilterMsg BOOL. true if Processing Pending MessageFilter message.
VSSPROPID_RecordState I4. VSRECORDSTATE enumeration type specifying macro recording state of the environment.
VSSPROPID_ReloadChangedFiles I4. VSRELOADOPTION. Tells editors how to respond to externally modified documents.
VSSPROPID_SCCGlyphsImgList I4. Handle to environment's image list for source code control glyphs, which are indexed by VsStateIcon. Do not free because the environment frees it during final shutdown.
VSSPROPID_ShowMiscFilesProject BOOL. true if the environment is to make the Miscellaneous Files project visible in Solution Explorer.
VSSPROPID_ShowOutputPaneOnBuildBegin BOOL. true if the environment is to show the output pane when you start to build a project.
VSSPROPID_ShowTasklistOnBuildEnd BOOL. true if the environment is to show the task list when the build is complete.
VSSPROPID_StartupDir BSTR directory where running executable started up.
VSSPROPID_SuppressMessageFilterBusyDialog BOOL. If true the "Component Busy/Retry/Switch" dialog is suppressed. This element is used by Visual Studio for Applications for break mode.
VSSPROPID_ViewSourceMode BOOL. Set to true if the environment is to be in VSSPROPID_ViewSourceMode.
VSSPROPID_VirtualRegistryRoot BSTR registry key name (must be appended to HKLM or HKCU).

New code should instead use GetLocalRegistryRootEx.

VSSPROPID_VisualStudioProjDir BSTR. The full path location of the Visual Studio Projects directory.
VSSPROPID_Zombie BOOL. true if the environment is in an inactive state.

Remarks

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace