共用方式為


__VSCREATEPROJFLAGS2 Enumeration

Controls how a project is created or opened.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration __VSCREATEPROJFLAGS2
'用途
Dim instance As __VSCREATEPROJFLAGS2
[FlagsAttribute]
public enum __VSCREATEPROJFLAGS2
[FlagsAttribute]
public enum class __VSCREATEPROJFLAGS2
[<FlagsAttribute>]
type __VSCREATEPROJFLAGS2
public enum __VSCREATEPROJFLAGS2

Members

Member name Description
CPF_DEFERREDSAVE Project is "zero-impact": permanent save is performed explicitly via File.SaveAll.
CPF_OPEN_ASYNCHRONOUSLY Project is being opened asynchronously, that is. it is possible that not all files are on disk yet.
CPF_OPEN_STANDALONE Commands to open the project specified and not look for a solution containing the project. Valid only with CPF_OPENFILE.

Remarks

__VSCREATEPROJFLAGS2 extends the enumerations provided by __VSCREATEPROJFLAGS.

COM Signature

From vsshell.idl:

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace