Partilhar via


IVsRefactorNotify.OnRemoveParams Method

Definition

Called after a method had the parameters removed.

public:
 int OnRemoveParams(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier, System::UInt32 itemid, System::String ^ lpszRQName, System::UInt32 cParamIndexes, cli::array <System::UInt32> ^ rgParamIndexes);
public:
 int OnRemoveParams(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier, unsigned int itemid, Platform::String ^ lpszRQName, unsigned int cParamIndexes, Platform::Array <unsigned int> ^ rgParamIndexes);
int OnRemoveParams(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 OnRemoveParams (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHier, uint itemid, string lpszRQName, uint cParamIndexes, uint[] rgParamIndexes);
abstract member OnRemoveParams : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * uint32 * string * uint32 * uint32[] -> int
Public Function OnRemoveParams (pHier As IVsHierarchy, itemid As UInteger, lpszRQName As String, cParamIndexes As UInteger, rgParamIndexes As UInteger()) As Integer

Parameters

pHier
IVsHierarchy

A hierarchy of the designer-owned item associated with the file that the language service changed.

itemid
UInt32

The VSITEMID of the designer-owned item associated with the file that the language service changed.

lpszRQName
String

A method that has parameters removed.

cParamIndexes
UInt32

The number of parameters removed.

rgParamIndexes
UInt32[]

An array of parameter indexes where each value indicates the index of the removed parameter.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

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

Applies to