共用方式為


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

'宣告
Function QueryRefreshReferences ( _
    Reason As UInteger, _
    <OutAttribute> ByRef pbUpdate As Integer _
) As Integer
'用途
Dim instance As IVsProjectFlavorReferences
Dim Reason As UInteger
Dim pbUpdate As Integer
Dim returnValue As Integer

returnValue = instance.QueryRefreshReferences(Reason, _
    pbUpdate)
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

  • pbUpdate
    Type: System.Int32%
    [out] Pointer to a Boolean. Set to true if this project advises (favors) updating references. Otherwise, set to false.

Return Value

Type: System.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

IVsProjectFlavorReferences Members

Microsoft.VisualStudio.Shell.Interop Namespace