SourceControl.IsItemCheckedOut Method
Retrieves a Boolean value that indicates whether the specified item is checked out.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Function IsItemCheckedOut ( _
ItemName As String _
) As Boolean
bool IsItemCheckedOut(
string ItemName
)
bool IsItemCheckedOut(
[InAttribute] String^ ItemName
)
abstract IsItemCheckedOut :
ItemName:string -> bool
function IsItemCheckedOut(
ItemName : String
) : boolean
Parameters
ItemName
Type: System.StringThe name of the file to check for checked-out status.
Return Value
Type: System.Boolean
A Boolean value indicating true if the specified file is 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.