共用方式為


IVsItemTypeResolutionService.ReferenceAdded(String) Method

Definition

Called by the project system when you add a new assembly reference.

public:
 int ReferenceAdded(System::String ^ pszReference);
public:
 int ReferenceAdded(Platform::String ^ pszReference);
int ReferenceAdded(std::wstring const & pszReference);
public int ReferenceAdded (string pszReference);
abstract member ReferenceAdded : string -> int
Public Function ReferenceAdded (pszReference As String) As Integer

Parameters

pszReference
String

[in] Pointer to a string containing the full path and name of the reference.

Returns

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

Applies to