次の方法で共有


SourceControl2.CheckOutItems2 Method

Definition

Checks the specified items out of source control.

public:
 bool CheckOutItems2(cli::array <System::Object ^> ^ % ItemNames, EnvDTE80::vsSourceControlCheckOutOptions Flags);
bool CheckOutItems2(std::Array <winrt::Windows::Foundation::IInspectable const &> const & & ItemNames, EnvDTE80::vsSourceControlCheckOutOptions Flags);
[System.Runtime.InteropServices.DispId(12)]
public bool CheckOutItems2 (ref object[] ItemNames, EnvDTE80.vsSourceControlCheckOutOptions Flags);
[<System.Runtime.InteropServices.DispId(12)>]
abstract member CheckOutItems2 : Object[] * EnvDTE80.vsSourceControlCheckOutOptions -> bool
Public Function CheckOutItems2 (ByRef ItemNames As Object(), Flags As vsSourceControlCheckOutOptions) As Boolean

Parameters

ItemNames
Object[]

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

Flags
vsSourceControlCheckOutOptions

Provides version checkout options with the vsSourceControlCheckOutOptions.

Returns

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

Attributes

Remarks

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.

Applies to