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: StringThe path of the reference.
Return Value
Type: Int32
The HRESULT.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.