SourceControl2::CheckOutItems2 Method (array<Object^>^, vsSourceControlCheckOutOptions)
Visual Studio 2015
Checks the specified items out of source control.
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::Booleantrue 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.
Show: