IVSSEvents.BeforeUndoCheckout Method 

An event that is fired before undoing a checkout of a file from the SourceSafe database.

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

Syntax

'Declaration
Function BeforeUndoCheckout ( _
    <InAttribute> pIItem As VSSItem, _
    <InAttribute> Local As String _
) As Boolean
'Usage
Dim instance As IVSSEvents
Dim pIItem As VSSItem
Dim Local As String
Dim returnValue As Boolean

returnValue = instance.BeforeUndoCheckout(pIItem, Local)
bool BeforeUndoCheckout (
    [InAttribute] VSSItem pIItem,
    [InAttribute] string Local
)
bool BeforeUndoCheckout (
    [InAttribute] VSSItem^ pIItem, 
    [InAttribute] String^ Local
)
boolean BeforeUndoCheckout (
    /** @attribute InAttribute() */ VSSItem pIItem, 
    /** @attribute InAttribute() */ String Local
)
function BeforeUndoCheckout (
    pIItem : VSSItem, 
    Local : String
) : boolean

Parameters

  • pIItem
    A reference of the IVSSItem type to an object representing a file whose checkout has been undone.
  • Local
    A string representing a fully qualified path to the local copy of a file whose checkout has been undone.

Remarks

[IDL]

HRESULT BeforeUndoCheckout ([in]IVSSItem *pIItem, [in] BSTR Local, [out,retval]boolean *pbContinue);

When you undo a checkout of a project, each file in the project fires this event.

See Also

Reference

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