共用方式為


IVsSolutionBuildManager2.StartUpdateProjectConfigurations Method

Definition

Builds, cleans, or deploys a list of projects.

public:
 int StartUpdateProjectConfigurations(System::UInt32 cProjs, cli::array <Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^> ^ rgpHierProjs, System::UInt32 dwFlags, int fSuppressUI);
public:
 int StartUpdateProjectConfigurations(unsigned int cProjs, Platform::Array <Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^> ^ rgpHierProjs, unsigned int dwFlags, int fSuppressUI);
int StartUpdateProjectConfigurations(unsigned int cProjs, std::Array <Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const &> const & rgpHierProjs, unsigned int dwFlags, int fSuppressUI);
public int StartUpdateProjectConfigurations (uint cProjs, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[] rgpHierProjs, uint dwFlags, int fSuppressUI);
abstract member StartUpdateProjectConfigurations : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy[] * uint32 * int -> int
Public Function StartUpdateProjectConfigurations (cProjs As UInteger, rgpHierProjs As IVsHierarchy(), dwFlags As UInteger, fSuppressUI As Integer) As Integer

Parameters

cProjs
UInt32

[in] Count of projects to build.

rgpHierProjs
IVsHierarchy[]

[in] Specifies list of projects to be built.

dwFlags
UInt32

[in] Double word containing the flags. For more information see VSSOLNBUILDUPDATEFLAGS.

fSuppressUI
Int32

[in] Set to true to use the default response to any dialogs, which will not be displayed; otherwise false.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionBuildManager2::StartUpdateProjectConfigurations(  
   [in] UINT cProjs,  
   [in, size_is(cProjs)] IVsHierarchy *rgpHierProjs[],  
   [in] DWORD dwFlags,  
   [in] BOOL fSuppressUI  
);  

Applies to