IVsSolutionBuildManager2.CalculateProjectDependencies Method

Forces dependencies to be recalculated.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
Function CalculateProjectDependencies As Integer
'使用
Dim instance As IVsSolutionBuildManager2
Dim returnValue As Integer

returnValue = instance.CalculateProjectDependencies()
int CalculateProjectDependencies()
int CalculateProjectDependencies()
function CalculateProjectDependencies() : int

Return Value

Type: System.Int32

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

Remarks

Call this method to force project dependencies to be recalculated. This method should be called prior to calling GetProjectDependencies if you are unsure if the dependencies are up to date at the point of the call.

Also, call this method if you have changed the project dependencies provided by your project's IVsDependencyProvider.

Permissions

See Also

Reference

IVsSolutionBuildManager2 Interface

IVsSolutionBuildManager2 Members

Microsoft.VisualStudio.Shell.Interop Namespace