IVsRefactorNotify::OnReorderParams Method (IVsHierarchy^, UInt32, String^, UInt32, array<UInt32>^)
Visual Studio 2015
Called after a method had the parameters reordered.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int OnReorderParams( IVsHierarchy^ pHier, unsigned int itemid, String^ lpszRQName, unsigned int cParamIndexes, array<unsigned int>^ rgParamIndexes )
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:
System::UInt32
The VSITEMID of the designer-owned item associated with the file that the language service changed.
- lpszRQName
-
Type:
System::String^
A method that has parameters reordered.
- cParamIndexes
-
Type:
System::UInt32
The number of parameters reordered.
- rgParamIndexes
-
Type:
array<System::UInt32>^
An array of parameter indexes. The index indicates the position of the parameter after reordering. The value at the index indicates the position of the parameter before reordering.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT OnReorderParams(
[in] IVsHierarchy *pHier,
[in] VSITEMID itemid,
[in] LPCOLESTR lpszRQName,
[in] ULONG cParamIndexes,
[in, size_is(cParamIndexes)] ULONG rgParamIndexes[]);
Show: