次の方法で共有


VSSCCENLISTMENTCHOICE Enumeration

These values indicate a project's willingness to work with choosing an enlistment (a local working copy of a project or solution that is under source control). Being able to choose an enlistment allows the user to change the location of a stored project when it is pulled from source control.

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

Syntax

'宣言
Public Enumeration VSSCCENLISTMENTCHOICE
'使用
Dim instance As VSSCCENLISTMENTCHOICE
public enum VSSCCENLISTMENTCHOICE
public enum class VSSCCENLISTMENTCHOICE
public enum VSSCCENLISTMENTCHOICE

Members

Member name Description
VSSCC_EC_NEVER This project does not support enlistment choice. This is the same as if the project didn't implement the IVsSccProjectEnlistmentChoice interface.
VSSCC_EC_OPTIONAL This project allows enlistment choice but does not require it.
VSSCC_EC_COMPULSORY This project requires the user to pick an enlistment.

Remarks

COM Signature

From IVsSccProjectEnlistmentChoice.idl:

typedef enum __VSSCCENLISTMENTCHOICE
{
   VSSCC_EC_NEVER      = 0,
   VSSCC_EC_OPTIONAL   = 1,
   VSSCC_EC_COMPULSORY = 2,
} VSSCCENLISTMENTCHOICE;

These values are returned by a call to the GetEnlistmentChoice method.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace