Udostępnij za pośrednictwem


IVsBuildDependency.get_MustUpdateBefore Method

Determines if an update and/or project build must occur either before or after a project is built.

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

Syntax

'Declaration
Function get_MustUpdateBefore ( _
    <OutAttribute> ByRef pfMustUpdateBefore As Integer _
) As Integer
int get_MustUpdateBefore(
    out int pfMustUpdateBefore
)
int get_MustUpdateBefore(
    [OutAttribute] int% pfMustUpdateBefore
)
abstract get_MustUpdateBefore : 
        pfMustUpdateBefore:int byref -> int 
function get_MustUpdateBefore(
    pfMustUpdateBefore : int
) : int

Parameters

  • pfMustUpdateBefore
    Type: System.Int32%
    [out] Pointer to a flag that is set to true if the project must be updated before it is built and false if an update and rebuild will be required of a referred project if this project is built.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsBuildDependency::get_MustUpdateBefore(
   [out] BOOL *pfMustUpdateBefore
);

.NET Framework Security

See Also

Reference

IVsBuildDependency Interface

Microsoft.VisualStudio.Shell.Interop Namespace