SourceControl2.CheckOutItem2(String, vsSourceControlCheckOutOptions) Method

Definition

Checks the specified item out of source control.

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

Parameters

ItemName
String

The full pathname to the file to check out.

Flags
vsSourceControlCheckOutOptions

Provides version checkout options with the vsSourceControlCheckOutOptions.

Returns

true if the item was successfully checked out; otherwise, False.

Attributes

Applies to