Metodo IVSSEvents.BeforeRename
Un evento generato prima della ridenominazione di un file o di un progetto nel database di Visual SourceSafe.
Spazio dei nomi: Microsoft.VisualStudio.SourceSafe.Interop
Assembly: Microsoft.VisualStudio.SourceSafe.Interop (in microsoft.visualstudio.sourcesafe.interop.dll)
Sintassi
'Dichiarazione
Function BeforeRename ( _
<InAttribute> pIItem As VSSItem, _
<InAttribute> NewName As String _
) As Boolean
'Utilizzo
Dim instance As IVSSEvents
Dim pIItem As VSSItem
Dim NewName As String
Dim returnValue As Boolean
returnValue = instance.BeforeRename(pIItem, NewName)
bool BeforeRename (
[InAttribute] VSSItem pIItem,
[InAttribute] string NewName
)
bool BeforeRename (
[InAttribute] VSSItem^ pIItem,
[InAttribute] String^ NewName
)
boolean BeforeRename (
/** @attribute InAttribute() */ VSSItem pIItem,
/** @attribute InAttribute() */ String NewName
)
function BeforeRename (
pIItem : VSSItem,
NewName : String
) : boolean
Parametri
- pIItem
Un riferimento del tipo IVSSItem a un oggetto che rappresenta un file o un progetto che viene rinominato.
- NewName
Una stringa che rappresenta il nuovo nome di un file o di un progetto.
Note
[IDL]
HRESULT BeforeRename ([in]IVSSItem *piItem, [in]BSTR NewName, [out,retval]boolean *pbContinue);
Vedere anche
Riferimenti
Interfaccia IVSSEvents
Membri IVSSEvents
Spazio dei nomi Microsoft.VisualStudio.SourceSafe.Interop