IVsHierarchyRefactorNotify.OnRemoveParams Method
Called after a method had parameters removed.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣告
Function OnRemoveParams ( _
itemid As UInteger, _
lpszRQName As String, _
cParamIndexes As UInteger, _
rgParamIndexes As UInteger() _
) As Integer
'用途
Dim instance As IVsHierarchyRefactorNotify
Dim itemid As UInteger
Dim lpszRQName As String
Dim cParamIndexes As UInteger
Dim rgParamIndexes As UInteger()
Dim returnValue As Integer
returnValue = instance.OnRemoveParams(itemid, _
lpszRQName, cParamIndexes, rgParamIndexes)
int OnRemoveParams(
uint itemid,
string lpszRQName,
uint cParamIndexes,
uint[] rgParamIndexes
)
int OnRemoveParams(
[InAttribute] unsigned int itemid,
[InAttribute] String^ lpszRQName,
[InAttribute] unsigned int cParamIndexes,
[InAttribute] array<unsigned int>^ rgParamIndexes
)
abstract OnRemoveParams :
itemid:uint32 *
lpszRQName:string *
cParamIndexes:uint32 *
rgParamIndexes:uint32[] -> int
function OnRemoveParams(
itemid : uint,
lpszRQName : String,
cParamIndexes : uint,
rgParamIndexes : uint[]
) : int
Parameters
- itemid
Type: System.UInt32
The VSITEMID that identifies the affected file.
- lpszRQName
Type: System.String
The method that has parameters removed.
- cParamIndexes
Type: System.UInt32
The number of parameters removed.
- rgParamIndexes
Type: array<System.UInt32[]
An array of parameter indexes where each value indicates the index of the parameter that was removed.
Return Value
Type: System.Int32
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[]);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsHierarchyRefactorNotify Interface