SourceControl.CheckOutItem(String) Method

Definition

Checks the specified item out of source control.

[System.Runtime.InteropServices.DispId(5)]
public bool CheckOutItem (string ItemName);
Parameters
ItemName
String

The full path to the file to check out.

Returns

A Boolean value indicating true if the item was successfully checked out; otherwise, false.

Remarks

CheckOutItem 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