IVsHierarchyRefactorNotify.OnReorderParams Method
Called after a method had parameters reordered.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function OnReorderParams ( _
itemid As UInteger, _
lpszRQName As String, _
cParamIndexes As UInteger, _
rgParamIndexes As UInteger() _
) As Integer
int OnReorderParams(
uint itemid,
string lpszRQName,
uint cParamIndexes,
uint[] rgParamIndexes
)
int OnReorderParams(
[InAttribute] unsigned int itemid,
[InAttribute] String^ lpszRQName,
[InAttribute] unsigned int cParamIndexes,
[InAttribute] array<unsigned int>^ rgParamIndexes
)
abstract OnReorderParams :
itemid:uint32 *
lpszRQName:string *
cParamIndexes:uint32 *
rgParamIndexes:uint32[] -> int
function OnReorderParams(
itemid : uint,
lpszRQName : String,
cParamIndexes : uint,
rgParamIndexes : uint[]
) : int
Parameters
itemid
Type: UInt32The VSITEMID that identifies the affected file.
lpszRQName
Type: StringThe method that has parameters reordered.
cParamIndexes
Type: UInt32The number of parameters reordered.
rgParamIndexes
Type: array<UInt32[]An array of parameter indexes. The index defines the position of the parameter after reordering. The value at the index defines the position of the parameter before reordering.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
To stop the reorder operation, the HRESULT must contain one of the following error codes:
E_ABORT
OLE_E_PROMPTSAVECANCELLED
OLECMDERR_E_CANCELED
HR_E_CSHARP_USER_CANCEL
COM Signature
From vsshell80.idl:
HRESULT OnReorderParams(
[in] VSITEMID itemid,
[in] LPCOLESTR lpszRQName,
[in] ULONG cParamIndexes,
[in, size_is(cParamIndexes)] ULONG rgParamIndexes[]);
.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.