IVsRefactorNotify.OnBeforeRemoveParams Yöntem (IVsHierarchy, UInt32, String, UInt32, UInt32 , Array)
Kaldırılan parametreleri olmasını bir yöntem olduğunda denir.
Ad Alanı: Microsoft.VisualStudio.Shell.Interop
Derleme: Microsoft.VisualStudio.Shell.Interop.8.0 (Microsoft.VisualStudio.Shell.Interop.8.0.dll içinde)
Sözdizimi
int OnBeforeRemoveParams(
IVsHierarchy pHier,
uint itemid,
string lpszRQName,
uint cParamIndexes,
uint[] rgParamIndexes,
out Array prgAdditionalCheckoutVSITEMIDs
)
int OnBeforeRemoveParams(
IVsHierarchy^ pHier,
unsigned int itemid,
String^ lpszRQName,
unsigned int cParamIndexes,
array<unsigned int>^ rgParamIndexes,
[OutAttribute] Array^% prgAdditionalCheckoutVSITEMIDs
)
abstract OnBeforeRemoveParams :
pHier:IVsHierarchy *
itemid:uint32 *
lpszRQName:string *
cParamIndexes:uint32 *
rgParamIndexes:uint32[] *
prgAdditionalCheckoutVSITEMIDs:Array byref -> int
Function OnBeforeRemoveParams (
pHier As IVsHierarchy,
itemid As UInteger,
lpszRQName As String,
cParamIndexes As UInteger,
rgParamIndexes As UInteger(),
<OutAttribute> ByRef prgAdditionalCheckoutVSITEMIDs As Array
) As Integer
Parametreler
- pHier
Dil hizmeti değiştiren dosyayla ilişkili Tasarımcısı olduğu madde hiyerarşisi.
- itemid
Dil hizmeti değiştiren dosyayla ilişkili Tasarımcısı olduğu madde VSITEMID.
- lpszRQName
Kaldırılan parametreleri olan bir yöntem.
- cParamIndexes
Parametre sayısı kaldırıldı.
- rgParamIndexes
Bir dizi parametresi dizinlerinin bulunduğu dizin kaldırılmakta parametresinin her değeri gösterir.
- prgAdditionalCheckoutVSITEMIDs
Bir dizi parametresi kaldırma işlemi sırasında teslim VSITEMIDs IVsRefactorNotify Uygulayıcısı refactoring işleminin bir parçası ek dosyaları değiştirmeniz gerekir.Refactoring işlemi sırasında bu dosya değiştirilirse uygulayıcıları VSITEMID Tasarımcısı olduğu maddenin döndürmelidir.
Dönüş Değeri
Type: System.Int32
Yöntem başarılı olursa, verir S_OK.Başarısız olursa, bir hata kodu döndürür.
Notlar
com imzası
Vsshell80.idl:
HRESULT OnBeforeRemoveParams(
[in] IVsHierarchy *pHier,
[in] VSITEMID itemid,
[in] LPCOLESTR lpszRQName,
[in] ULONG cParamIndexes,
[in, size_is(cParamIndexes)] ULONG rgParamIndexes[],
[out, retval] SAFEARRAY(VSITEMID)* prgAdditionalCheckoutVSITEMIDs);
Ayrıca bkz.
IVsRefactorNotify Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı
Başa dön