Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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)

public enum CEF

Member nameDescription
CloneFileClone the file. This is mutually exclusive with OpenFile.
OpenAsNewThe editor factory should perform the necessary fixes.
OpenFileOpen the file. This is mutually exclusive with CloneFile.
SilentThe editor factory should create the editor silently.

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

© 2015 Microsoft