IVsSolutionBuildManager2.StartSimpleUpdateProjectConfiguration Method (IVsHierarchy, IVsHierarchy, String, UInt32, UInt32, Int32)
This is a variant of the update command that allows you to build, clean, deploy, or launch a single project configuration.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function StartSimpleUpdateProjectConfiguration ( _
pIVsHierarchyToBuild As IVsHierarchy, _
pIVsHierarchyDependent As IVsHierarchy, _
pszDependentConfigurationCanonicalName As String, _
dwFlags As UInteger, _
dwDefQueryResults As UInteger, _
fSuppressUI As Integer _
) As Integer
'Usage
Dim instance As IVsSolutionBuildManager2
Dim pIVsHierarchyToBuild As IVsHierarchy
Dim pIVsHierarchyDependent As IVsHierarchy
Dim pszDependentConfigurationCanonicalName As String
Dim dwFlags As UInteger
Dim dwDefQueryResults As UInteger
Dim fSuppressUI As Integer
Dim returnValue As Integer
returnValue = instance.StartSimpleUpdateProjectConfiguration(pIVsHierarchyToBuild, _
pIVsHierarchyDependent, pszDependentConfigurationCanonicalName, _
dwFlags, dwDefQueryResults, fSuppressUI)
int StartSimpleUpdateProjectConfiguration(
IVsHierarchy pIVsHierarchyToBuild,
IVsHierarchy pIVsHierarchyDependent,
string pszDependentConfigurationCanonicalName,
uint dwFlags,
uint dwDefQueryResults,
int fSuppressUI
)
int StartSimpleUpdateProjectConfiguration(
[InAttribute] IVsHierarchy^ pIVsHierarchyToBuild,
[InAttribute] IVsHierarchy^ pIVsHierarchyDependent,
[InAttribute] String^ pszDependentConfigurationCanonicalName,
[InAttribute] unsigned int dwFlags,
[InAttribute] unsigned int dwDefQueryResults,
[InAttribute] int fSuppressUI
)
abstract StartSimpleUpdateProjectConfiguration :
pIVsHierarchyToBuild:IVsHierarchy *
pIVsHierarchyDependent:IVsHierarchy *
pszDependentConfigurationCanonicalName:string *
dwFlags:uint32 *
dwDefQueryResults:uint32 *
fSuppressUI:int -> int
function StartSimpleUpdateProjectConfiguration(
pIVsHierarchyToBuild : IVsHierarchy,
pIVsHierarchyDependent : IVsHierarchy,
pszDependentConfigurationCanonicalName : String,
dwFlags : uint,
dwDefQueryResults : uint,
fSuppressUI : int
) : int
Parameters
- pIVsHierarchyToBuild
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] Pointer to the IVsHierarchy object of the project to build.
- pIVsHierarchyDependent
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] Pointer to an optional dependent project in the dependency graph contained in IVsHierarchy.
- pszDependentConfigurationCanonicalName
Type: System.String
[in] Pointer to a null terminated string containing the optional dependent configuration canonical name.
- dwFlags
Type: System.UInt32
[in] Double word containing the build update flags. For more information, see VSSOLNBUILDUPDATEFLAGS2.
- dwDefQueryResults
Type: System.UInt32
[in] Double word containing the def query results. For more information, see VSSOLNBUILDQUERYRESULTS.
- fSuppressUI
Type: System.Int32
[in] Set to true to use the default response to any dialogs, which will not be displayed; otherwise false.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSolutionBuildManager2::StartSimpleUpdateProjectConfiguration(
[in] IVsHierarchy *pIVsHierarchyToBuild,
[in] IVsHierarchy *pIVsHierarchyDependent,
[in] LPCOLESTR pszDependentConfigurationCanonicalName,
[in] DWORD dwFlags,
[in] DWORD dwDefQueryResults
);
The pointers pIVsHierarchyDependent and pszDependentConfigurationCanonicalName are not used in the method implementation and must be nulla null reference (Nothing in Visual Basic). Otherwise E_INVALIDARG will be returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsSolutionBuildManager2 Interface
IVsSolutionBuildManager2 Members