IVsCfgProviderEventsHelper.NotifyOnCfgNameRenamed Method
Fired to sink configuration name renamed events for all listeners in the array.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function NotifyOnCfgNameRenamed ( _
pszOldName As String, _
lszNewName As String _
) As Integer
int NotifyOnCfgNameRenamed(
string pszOldName,
string lszNewName
)
int NotifyOnCfgNameRenamed(
[InAttribute] String^ pszOldName,
[InAttribute] String^ lszNewName
)
abstract NotifyOnCfgNameRenamed :
pszOldName:string *
lszNewName:string -> int
function NotifyOnCfgNameRenamed(
pszOldName : String,
lszNewName : String
) : int
Parameters
pszOldName
Type: String[in] Old configuration name removed from the configuration list.
lszNewName
Type: String[in] New configuration name added to the configuration list.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsCfgProviderEventsHelper::NotifyOnCfgNameRenamed(
[in] LPCOLESTR pszOldName,
[in] LPCOLESTR lszNewName
);
If the rename operation is implemented as a clone and delete, you should fire the add/delete events instead of this one.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.