IVsRefactorNotify.OnReorderParams(IVsHierarchy, UInt32, String, UInt32, UInt32[]) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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[]);