Aracılığıyla paylaş


IVsUpdateSolutionEvents2.UpdateProjectCfg_Begin Yöntem (IVsHierarchy, IVsCfg, IVsCfg, UInt32, Int32)

 

Bir proje yapýlandýrmasý oluşturmaya başlamadan önce doğru olarak adlandırılır.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

int UpdateProjectCfg_Begin(
    IVsHierarchy pHierProj,
    IVsCfg pCfgProj,
    IVsCfg pCfgSln,
    uint dwAction,
    ref int pfCancel
)
int UpdateProjectCfg_Begin(
    IVsHierarchy^ pHierProj,
    IVsCfg^ pCfgProj,
    IVsCfg^ pCfgSln,
    unsigned int dwAction,
    int% pfCancel
)
abstract UpdateProjectCfg_Begin : 
        pHierProj:IVsHierarchy *
        pCfgProj:IVsCfg *
        pCfgSln:IVsCfg *
        dwAction:uint32 *
        pfCancel:int byref -> int
Function UpdateProjectCfg_Begin (
    pHierProj As IVsHierarchy,
    pCfgProj As IVsCfg,
    pCfgSln As IVsCfg,
    dwAction As UInteger,
    ByRef pfCancel As Integer
) As Integer

Parametreler

  • pHierProj
    [in] Hiyerarşi proje nesnesi için işaretçi.
  • pCfgProj
    [in] Yapılandırma proje nesnesi için işaretçi.
  • pCfgSln
    [in] Yapılandırma çözüm nesnesi için işaretçi.
  • dwAction
    [in] Çift eylemini içeren word.
  • pfCancel
    [içinde out] İptal'i gösteren bir bayrak için işaretçi.

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ı

Vsshell.idl:

HRESULT IVsUpdateSolutionEvents2::UpdateProjectCfg_Begin(
   [in] IVsHierarchy *pHierProj,
   [in] IVsCfg *pCfgProj,
   [in] IVsCfg *pCfgSln,
   [in] DWORD dwAction,
   [in, out] BOOL *pfCancel
);

Ayrıca bkz.

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

Başa dön