Sdílet prostřednictvím


IVsUpdateSolutionEvents2.UpdateProjectCfg_Begin – metoda (IVsHierarchy, IVsCfg, IVsCfg, UInt32, Int32)

 

Před zahájením projektu konfigurace sestavení, nazývá vpravo.

Obor názvů:   Microsoft.VisualStudio.Shell.Interop
Sestavení:  Microsoft.VisualStudio.Shell.Interop (v Microsoft.VisualStudio.Shell.Interop.dll)

Syntaxe

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

Parametry

  • pHierProj
    [v] Ukazatel na objekt hierarchii projektu.
  • pCfgProj
    [v] Ukazatel na objekt konfigurace projektu.
  • pCfgSln
    [v] Ukazatel na objekt konfigurace řešení.
  • dwAction
    [v] Dvojité slovo obsahující akci.
  • pfCancel
    [v, out] Ukazatel na příznak označující Storno.

Vrácená hodnota

Type: System.Int32

Pokud metoda uspěje, vrací S_OK.Pokud se nezdaří, vrátí kód chyby.

Poznámky

Podpis COM

Z vsshell.idl:

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

Viz také

IVsUpdateSolutionEvents2 – rozhraní
Microsoft.VisualStudio.Shell.Interop – obor názvů

Zpátky na začátek