Compartir a través de


IWebClassLibProjectEvents.OnReferenceAdded Method

Occurs when a reference is added to the project.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function OnReferenceAdded ( _
    pszReferencePath As String _
) As Integer
int OnReferenceAdded(
    string pszReferencePath
)
int OnReferenceAdded(
    [InAttribute] String^ pszReferencePath
)
abstract OnReferenceAdded : 
        pszReferencePath:string -> int
function OnReferenceAdded(
    pszReferencePath : String
) : int

Parameters

  • pszReferencePath
    Type: String

    The path of the reference.

Return Value

Type: Int32
The HRESULT.

.NET Framework Security

See Also

Reference

IWebClassLibProjectEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace