IVSSEvents.BeforeCheckin Method 

An event that is fired before a file is checked into the SourceSafe database.

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

Syntax

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

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

Parameters

  • pIItem
    A reference of the IVSSItem type to an object representing a checked in file.
  • Local
    A string representing a fully qualified path to the local copy of a checked in file.
  • Comment
    Optional. A string containing a comment. The default is an empty string.

Remarks

[IDL]

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

When you check in a project, each file in the project fires this event.

See Also

Reference

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