IVsProjectFlavorReferences.QueryRefreshReferences Method

Called before updating a project reference. This flavored project may advise against updating the references.

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

Syntax

'Declaration
Function QueryRefreshReferences ( _
    Reason As UInteger, _
    <OutAttribute> ByRef pbUpdate As Integer _
) As Integer
int QueryRefreshReferences(
    uint Reason,
    out int pbUpdate
)
int QueryRefreshReferences(
    [InAttribute] unsigned int Reason, 
    [OutAttribute] int% pbUpdate
)
abstract QueryRefreshReferences : 
        Reason:uint32 * 
        pbUpdate:int byref -> int
function QueryRefreshReferences(
    Reason : uint, 
    pbUpdate : int
) : int

Parameters

  • Reason
    Type: UInt32

    [in] Integer indicating the reason for updating references. A value from the __UPDATE_REFERENCE_REASON enumeration.

  • pbUpdate
    Type: Int32%

    [out] Pointer to a Boolean. Set to true if this project advises (favors) updating references. Otherwise, set to false.

Return Value

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

.NET Framework Security

See Also

Reference

IVsProjectFlavorReferences Interface

Microsoft.VisualStudio.Shell.Interop Namespace