共用方式為


IWebClassLibProjectEvents.OnReferenceAdded(String) Method

Definition

Occurs when a reference is added to the project.

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

Parameters

pszReferencePath
String

The path of the reference.

Returns

The HRESULT.

Applies to