SourceControl::CheckOutItem Method (String^)

 

Checks the specified item out of source control.

Namespace:   EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

bool CheckOutItem(
	String^ ItemName
)

Parameters

ItemName
Type: System::String^

The full path to the file to check out.

Return Value

Type: System::Boolean

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

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.

Return to top
Show: