SourceControl2.CheckOutItem2 Method
Checks the specified item out of source control.
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
Function CheckOutItem2 ( _
ItemName As String, _
Flags As vsSourceControlCheckOutOptions _
) As Boolean
bool CheckOutItem2(
string ItemName,
vsSourceControlCheckOutOptions Flags
)
bool CheckOutItem2(
[InAttribute] String^ ItemName,
[InAttribute] vsSourceControlCheckOutOptions Flags
)
abstract CheckOutItem2 :
ItemName:string *
Flags:vsSourceControlCheckOutOptions -> bool
function CheckOutItem2(
ItemName : String,
Flags : vsSourceControlCheckOutOptions
) : boolean
Parameters
ItemName
Type: StringThe full pathname to the file to check out.
Flags
Type: EnvDTE80.vsSourceControlCheckOutOptionsProvides version checkout options with the vsSourceControlCheckOutOptions.
Return Value
Type: Boolean
true if the item was successfully checked out; otherwise, False.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.