共用方式為


IVsProjectFlavorReferences.QueryRefreshReferences(UInt32, Int32) Method

Definition

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

public:
 int QueryRefreshReferences(System::UInt32 Reason, [Runtime::InteropServices::Out] int % pbUpdate);
int QueryRefreshReferences(unsigned int Reason, [Runtime::InteropServices::Out] int & pbUpdate);
public int QueryRefreshReferences (uint Reason, out int pbUpdate);
abstract member QueryRefreshReferences : uint32 * int -> int
Public Function QueryRefreshReferences (Reason As UInteger, ByRef pbUpdate As Integer) As Integer

Parameters

Reason
UInt32

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

pbUpdate
Int32

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

Returns

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

Applies to