共用方式為


VSConstants.CEF Enumeration

Represents flags to be used with the are used with CreateEditorInstance method.

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

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration CEF
[FlagsAttribute]
public enum CEF
[FlagsAttribute]
public enum class CEF
[<FlagsAttribute>]
type CEF
public enum CEF

Members

Member name Description
CloneFile Clone the file. This is mutually exclusive with OpenFile.
OpenAsNew The editor factory should perform the necessary fixes.
OpenFile Open the file. This is mutually exclusive with CloneFile.
Silent The editor factory should create the editor silently.

Remarks

For more information about these flags, see __VSCREATEEDITORFLAGS and __VSCREATEEDITORFLAGS2.

See Also

Reference

Microsoft.VisualStudio Namespace