IVsProjectFlavorReferences::QueryRefreshReferences Method (UInt32, Int32)

 

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)

int QueryRefreshReferences(
	unsigned int Reason,
	[OutAttribute] int% pbUpdate
)

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.

Return to top
Show: