IVsRefactorNotify.OnRemoveParams Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Bir yöntem parametreleri kaldırıldıktan sonra çağırılır.
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
Parametreler
- pHier
- IVsHierarchy
, Dil hizmetinin değiştiği dosyayla ilişkili, tasarımcıya ait öğenin bir hiyerarşisi.
- itemid
- UInt32
Dille ilgili öğenin, dil hizmetinin değiştiği dosyayla ilişkili VSITEMID 'ı.
- lpszRQName
- String
Parametreleri kaldırılmış bir yöntem.
- cParamIndexes
- UInt32
Kaldırılan parametrelerin sayısı.
- rgParamIndexes
- UInt32[]
Her değerin kaldırılan parametrenin dizinini gösterdiği parametre dizinlerinden oluşan dizi.
Döndürülenler
Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.
Açıklamalar
COM Imzası
Vsshell80. IDL adresinden:
HRESULT OnRemoveParams(
[in] IVsHierarchy *pHier,
[in] VSITEMID itemid,
[in] LPCOLESTR lpszRQName,
[in] ULONG cParamIndexes,
[in, size_is(cParamIndexes)] ULONG rgParamIndexes[]);