SourceControl2.CheckOutItem2(String, vsSourceControlCheckOutOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks the specified item out of source control.
public:
bool CheckOutItem2(System::String ^ ItemName, EnvDTE80::vsSourceControlCheckOutOptions Flags);
public:
bool CheckOutItem2(Platform::String ^ ItemName, EnvDTE80::vsSourceControlCheckOutOptions Flags);
bool CheckOutItem2(std::wstring const & ItemName, EnvDTE80::vsSourceControlCheckOutOptions Flags);
[System.Runtime.InteropServices.DispId(11)]
public bool CheckOutItem2 (string ItemName, EnvDTE80.vsSourceControlCheckOutOptions Flags);
[<System.Runtime.InteropServices.DispId(11)>]
abstract member CheckOutItem2 : string * EnvDTE80.vsSourceControlCheckOutOptions -> bool
Public Function CheckOutItem2 (ItemName As String, Flags As vsSourceControlCheckOutOptions) As Boolean
Parameters
- ItemName
- String
The full pathname to the file to check out.
Provides version checkout options with the vsSourceControlCheckOutOptions.
Returns
true
if the item was successfully checked out; otherwise, False
.
- Attributes