IVSSItem.IsCheckedOut Property 

Gets a value indicating whether a particular file is checked out.

Namespace: Microsoft.VisualStudio.SourceSafe.Interop
Assembly: Microsoft.VisualStudio.SourceSafe.Interop (in microsoft.visualstudio.sourcesafe.interop.dll)

Syntax

'Declaration
ReadOnly Property IsCheckedOut As Integer
'Usage
Dim instance As IVSSItem
Dim value As Integer

value = instance.IsCheckedOut
int IsCheckedOut { get; }
property int IsCheckedOut {
    int get ();
}
/** @property */
int get_IsCheckedOut ()
function get IsCheckedOut () : int

Property Value

A value indicating whether a particular file is checked out.

Constant

Definition

Value

VSSFILE_NOTCHECKEDOUT

file is not checked out

0

VSSFILE_CHECKEDOUT

file is checked out to another user

1

VSSFILE_CHECKEDOUT_ME

file is checked out to the current user

2

Remarks

[IDL]

HRESULT IsCheckedOut ([out,retval]long *piStatus);

The IsCheckedOut property applies to files only. If you attempt to access the IsCheckedOut property of a project object, a run-time error is generated.

For more information, see Checkouts.

See Also

Reference

IVSSItem Interface
IVSSItem Members
Microsoft.VisualStudio.SourceSafe.Interop Namespace