Share via


IVSSEvents.AfterAdd Method 

An event that is fired after a file is added to the SourceSafe database.

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

Syntax

'Declaration
Sub AfterAdd ( _
    <InAttribute> pIItem As VSSItem, _
    <InAttribute> Local As String, _
    <InAttribute> Comment As String _
)
'Usage
Dim instance As IVSSEvents
Dim pIItem As VSSItem
Dim Local As String
Dim Comment As String

instance.AfterAdd(pIItem, Local, Comment)
void AfterAdd (
    [InAttribute] VSSItem pIItem,
    [InAttribute] string Local,
    [InAttribute] string Comment
)
void AfterAdd (
    [InAttribute] VSSItem^ pIItem, 
    [InAttribute] String^ Local, 
    [InAttribute] String^ Comment
)
void AfterAdd (
    /** @attribute InAttribute() */ VSSItem pIItem, 
    /** @attribute InAttribute() */ String Local, 
    /** @attribute InAttribute() */ String Comment
)
function AfterAdd (
    pIItem : VSSItem, 
    Local : String, 
    Comment : String
)

Parameters

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

Remarks

[IDL]

HRESULT AfterAdd ([in]IVSSItem *pIItem, [in]BSTR Local);

See Also

Reference

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