IVsRefactorNotify.OnReorderParams(IVsHierarchy, UInt32, String, UInt32, UInt32[]) Méthode

Définition

Appelé après la réorganisation des paramètres d'une méthode.

public:
 int OnReorderParams(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier, System::UInt32 itemid, System::String ^ lpszRQName, System::UInt32 cParamIndexes, cli::array <System::UInt32> ^ rgParamIndexes);
public:
 int OnReorderParams(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier, unsigned int itemid, Platform::String ^ lpszRQName, unsigned int cParamIndexes, Platform::Array <unsigned int> ^ rgParamIndexes);
int OnReorderParams(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHier, unsigned int itemid, std::wstring const & lpszRQName, unsigned int cParamIndexes, std::Array <unsigned int> const & rgParamIndexes);
public int OnReorderParams (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHier, uint itemid, string lpszRQName, uint cParamIndexes, uint[] rgParamIndexes);
abstract member OnReorderParams : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * string * uint32 * uint32[] -> int
Public Function OnReorderParams (pHier As IVsHierarchy, itemid As UInteger, lpszRQName As String, cParamIndexes As UInteger, rgParamIndexes As UInteger()) As Integer

Paramètres

pHier
IVsHierarchy

Hiérarchie de l'élément détenu par le concepteur associé au fichier que le service de langage a modifié.

itemid
UInt32

VSITEMID de l'élément détenu par le concepteur associé au fichier que le service de langage a modifié.

lpszRQName
String

Méthode comportant des paramètres réorganisés.

cParamIndexes
UInt32

Nombre de paramètres réorganisés.

rgParamIndexes
UInt32[]

Tableau d'index de paramètres. L'index indique la position du paramètre après la réorganisation. La valeur de l'index indique la position du paramètre avant de réorganiser.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

Signature COM

À partir de vsshell80. idl :

HRESULT OnReorderParams(  
    [in] IVsHierarchy *pHier,  
    [in] VSITEMID itemid,  
    [in] LPCOLESTR lpszRQName,  
    [in] ULONG cParamIndexes,  
    [in, size_is(cParamIndexes)] ULONG rgParamIndexes[]);  

S’applique à