SourceControl2.CheckOutItem(String) Method

Definition

Checks the specified item out of source control.

public:
 bool CheckOutItem(System::String ^ ItemName);
public:
 bool CheckOutItem(Platform::String ^ ItemName);
bool CheckOutItem(std::wstring const & ItemName);
[System.Runtime.InteropServices.DispId(5)]
public bool CheckOutItem (string ItemName);
[<System.Runtime.InteropServices.DispId(5)>]
abstract member CheckOutItem : string -> bool
Public Function CheckOutItem (ItemName As String) As Boolean

Parameters

ItemName
String

The full pathname to the file to check out.

Returns

Boolean

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

Implements

Attributes

Remarks

Checks out a project item that is under source control. This checks it out via the owning project and returns whether the checkout was successful.

Applies to