IVsHierarchyRefactorNotify.OnRemoveParams 方法

定义

在方法移除参数后调用。

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

参数

itemid
UInt32

标识受影响的文件的 VSITEMID。

lpszRQName
String

移除了参数的方法。

cParamIndexes
UInt32

删除的参数的数目。

rgParamIndexes
UInt32[]

参数索引的数组,其中每个值指示已移除的参数的索引。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

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

适用于