共用方式為


SourceControl.CheckOutItems(Object[]) Method

Definition

Checks the specified items out of source control.

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

Parameters

ItemNames
Object[]

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

Returns

A Boolean value indicating true if the items were successfully checked out; otherwise, false.

Attributes

Remarks

CheckOutItems 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