共用方式為


IVsComReferenceProviderContext.AddReference Method

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

IVsComReferenceProviderContext Interface

Microsoft.VisualStudio.Shell.Interop Namespace