SourceControl2::CheckOutItem Method (String^)

 

Checks the specified item out of source control.

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

bool CheckOutItem(
	String^ ItemName
)

Parameters

ItemName
Type: System::String^

The full pathname to the file to check out.

Return Value

Type: System::Boolean

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

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: