SourceControl2.CheckOutItem2(String, vsSourceControlCheckOutOptions) 方法

定义

将一个指定的项从源控件签出。

public:
 bool CheckOutItem2(System::String ^ ItemName, EnvDTE80::vsSourceControlCheckOutOptions Flags);
public:
 bool CheckOutItem2(Platform::String ^ ItemName, EnvDTE80::vsSourceControlCheckOutOptions Flags);
bool CheckOutItem2(std::wstring const & ItemName, EnvDTE80::vsSourceControlCheckOutOptions Flags);
[System.Runtime.InteropServices.DispId(11)]
public bool CheckOutItem2 (string ItemName, EnvDTE80.vsSourceControlCheckOutOptions Flags);
[<System.Runtime.InteropServices.DispId(11)>]
abstract member CheckOutItem2 : string * EnvDTE80.vsSourceControlCheckOutOptions -> bool
Public Function CheckOutItem2 (ItemName As String, Flags As vsSourceControlCheckOutOptions) As Boolean

参数

ItemName
String

要签出的文件的完整路径名。

Flags
vsSourceControlCheckOutOptions

提供的版本签出选项 vsSourceControlCheckOutOptions

返回

Boolean

true 如果成功签出该项,则为;否则为 False

属性

适用于