共用方式為


__VSSLNSAVEOPTIONS Enumeration

Specifies save options for a solution (.sln) file.

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

Syntax

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

Members

Member name Description
SLNSAVEOPT_SaveIfDirty Save only if the .sln file has been changed. This is the default.
SLNSAVEOPT_PromptSave Prompt user whether to save the .sln file.
SLNSAVEOPT_SkipDocs Skip all documents that have been changed.
SLNSAVEOPT_SkipProj Skips the project file.
SLNSAVEOPT_SkipSolution Skips the solution file.
SLNSAVEOPT_SkipUserOptFile Skips the user option file.
SLNSAVEOPT_NoSave Inclusive OR of all "skip" flags.
SLNSAVEOPT_ForceSave Forces save even if the file has not been changed.
SLNSAVEOPT_DocClose Result of closing a document.

Remarks

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace