共用方式為


VSConstants.CEF_CLONEFILE Field

An obsolete flag combined bitwise as the first parameter of the method CreateEditorInstance.

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

Syntax

'宣告
Public Const CEF_CLONEFILE As UInteger
public const uint CEF_CLONEFILE

Remarks

This flag is obsolete. Adding a new file to a project is now more effectively done via File.NewFile or Project.AddNewItem, steps that each present the user with multiple valid files. Accepting one of these template types then copies the file and adds it to the project, accomplishing the same goal as CEF_CLONEFILE.

.NET Framework Security

See Also

Reference

VSConstants Class

Microsoft.VisualStudio Namespace

CreateEditorInstance

Other Resources

IDE Constants