SourceControl2::CheckOutItems2 Method (array<Object^>^, vsSourceControlCheckOutOptions)

 

Checks the specified items out of source control.

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

bool CheckOutItems2(
	[InAttribute] array<Object^>^% ItemNames,
	vsSourceControlCheckOutOptions Flags
)

Parameters

ItemNames
Type: array<System::Object^>^

An array of strings that identify the items to be checked out.

Flags
Type: EnvDTE80::vsSourceControlCheckOutOptions

Provides version checkout options with the vsSourceControlCheckOutOptions.

Return Value

Type: System::Boolean

true if the items were successfully checked out; otherwise, false.

Checks out the project items that are under source control as specified in the SafeArray. This checks it out via the owning project and returns whether the checkout was successful.

Return to top
Show: