Share via


IVSSEvents.AfterRename Method 

An event that is fired after a file or a project is renamed in the SourceSafe database.

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

Syntax

'Declaration
Sub AfterRename ( _
    <InAttribute> pIItem As VSSItem, _
    <InAttribute> OldName As String _
)
'Usage
Dim instance As IVSSEvents
Dim pIItem As VSSItem
Dim OldName As String

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

Parameters

  • pIItem
    A reference of the IVSSItem type to an object representing a file or a project that is renamed.
  • OldName
    A string representing the original name of a file or a project.

Remarks

[IDL]

HRESULT AfterRename ([in]IVSSItem *pIItem, [in]BSTR OldName);

See Also

Reference

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