Aracılığıyla paylaş


IVsRefactorNotify.OnRemoveParams Yöntem (IVsHierarchy, UInt32, String, UInt32, UInt32 )

 

Bir yöntem parametreleri kaldırıldı vardı sonra 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 OnRemoveParams(
    IVsHierarchy pHier,
    uint itemid,
    string lpszRQName,
    uint cParamIndexes,
    uint[] rgParamIndexes
)
int OnRemoveParams(
    IVsHierarchy^ pHier,
    unsigned int itemid,
    String^ lpszRQName,
    unsigned int cParamIndexes,
    array<unsigned int>^ rgParamIndexes
)
abstract OnRemoveParams : 
        pHier:IVsHierarchy *
        itemid:uint32 *
        lpszRQName:string *
        cParamIndexes:uint32 *
        rgParamIndexes:uint32[] -> int
Function OnRemoveParams (
    pHier As IVsHierarchy,
    itemid As UInteger,
    lpszRQName As String,
    cParamIndexes As UInteger,
    rgParamIndexes As UInteger()
) 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 nerede kaldırılan parametre dizini her değeri gösterir.

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

Ayrıca bkz.

IVsRefactorNotify Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön