共用方式為


IVsIntellisenseProjectEventSink.OnReferenceChange(UInt32, String) Method

Definition

Called when a reference in the project changes.

public:
 int OnReferenceChange(System::UInt32 dwChangeType, System::String ^ pszAssemblyPath);
public:
 int OnReferenceChange(unsigned int dwChangeType, Platform::String ^ pszAssemblyPath);
int OnReferenceChange(unsigned int dwChangeType, std::wstring const & pszAssemblyPath);
public int OnReferenceChange (uint dwChangeType, string pszAssemblyPath);
abstract member OnReferenceChange : uint32 * string -> int
Public Function OnReferenceChange (dwChangeType As UInteger, pszAssemblyPath As String) As Integer

Parameters

dwChangeType
UInt32

[in] A value from the REFERENCECHANGETYPE enumeration.

pszAssemblyPath
String

[in] String that contains the full path to the referenced assembly.

Returns

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

Applies to