Compartilhar via


IVsHierarchyRefactorNotify.OnRemoveParams Method

Definition

Called after a method had parameters removed.

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

Parameters

itemid
UInt32

The VSITEMID that identifies the affected file.

lpszRQName
String

The 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 parameter that was removed.

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] VSITEMID itemid,                                  
    [in] LPCOLESTR lpszRQName,                             
    [in] ULONG cParamIndexes,                              
    [in, size_is(cParamIndexes)] ULONG rgParamIndexes[]);  

Applies to