次の方法で共有


VSConstants.CEF_CLONEFILE Field

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

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

Syntax

'宣言
Public Const CEF_CLONEFILE As UInteger
'使用
Dim value As UInteger

value = VSConstants.CEF_CLONEFILE
public const uint CEF_CLONEFILE
public:
literal unsigned int CEF_CLONEFILE
public const var CEF_CLONEFILE : uint

Field Value

Type: System.UInt32

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.

Permissions

See Also

Concepts

SDK Constants

Reference

VSConstants Class

VSConstants Members

Microsoft.VisualStudio Namespace

CreateEditorInstance