다음을 통해 공유


IVsReferenceProviderContext.AddReference Method

Adds a reference to the references collection.

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

Syntax

'Declaration
Sub AddReference ( _
    pReference As IVsReference _
)
void AddReference(
    IVsReference pReference
)
void AddReference(
    [InAttribute] IVsReference^ pReference
)
abstract AddReference : 
        pReference:IVsReference -> unit
function AddReference(
    pReference : IVsReference
)

Parameters

.NET Framework Security

See Also

Reference

IVsReferenceProviderContext Interface

Microsoft.VisualStudio.Shell.Interop Namespace