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
'Usage
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
)
function QueryRefreshReferences(
Reason : uint,
pbUpdate : int
) : int
Parameters
Reason
Type: System.UInt32[in] Integer indicating the reason for updating references. A value from the __UPDATE_REFERENCE_REASON enumeration.
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
- 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
IVsProjectFlavorReferences Interface