Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called after a symbol is renamed.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function OnGlobalSymbolRenamed ( _
    pHier As IVsHierarchy, _
    itemid As UInteger, _
    cRQNames As UInteger, _
    rglpszRQName As String(), _
    lpszNewName As String _
) As Integer
int OnGlobalSymbolRenamed(
    IVsHierarchy pHier,
    uint itemid,
    uint cRQNames,
    string[] rglpszRQName,
    string lpszNewName
)
int OnGlobalSymbolRenamed(
    [InAttribute] IVsHierarchy^ pHier, 
    [InAttribute] unsigned int itemid, 
    [InAttribute] unsigned int cRQNames, 
    [InAttribute] array<String^>^ rglpszRQName, 
    [InAttribute] String^ lpszNewName
)
abstract OnGlobalSymbolRenamed : 
        pHier:IVsHierarchy * 
        itemid:uint32 * 
        cRQNames:uint32 * 
        rglpszRQName:string[] * 
        lpszNewName:string -> int
function OnGlobalSymbolRenamed(
    pHier : IVsHierarchy, 
    itemid : uint, 
    cRQNames : uint, 
    rglpszRQName : String[], 
    lpszNewName : String
) : int
Parameters
- pHier 
 Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy- A hierarchy of the designer-owned item associated with the file that the language service changed. 
- itemid 
 Type: UInt32- The VSITEMID of the designer-owned item associated with the file that the language service changed. 
- cRQNames 
 Type: UInt32- The number of the renamed symbols. The number can be greater than one, if an overloaded symbol is renamed. 
- rglpszRQName 
 Type: array<String[]- A name of the symbol before the rename. 
- lpszNewName 
 Type: String- A name of the symbol after the rename. 
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT OnGlobalSymbolRenamed(
    [in] IVsHierarchy *pHier,
    [in] VSITEMID itemid,
    [in] ULONG cRQNames,
    [in, size_is(cRQNames)] LPCOLESTR rglpszRQName[],
    [in] LPCOLESTR lpszNewName);
.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.