Partager via


IVsReferenceProviderContext.AddReference(IVsReference) Method

Definition

Adds a reference to the references collection.

public:
 void AddReference(Microsoft::VisualStudio::Shell::Interop::IVsReference ^ pReference);
public:
 void AddReference(Microsoft::VisualStudio::Shell::Interop::IVsReference ^ pReference);
void AddReference(Microsoft::VisualStudio::Shell::Interop::IVsReference const & pReference);
public void AddReference (Microsoft.VisualStudio.Shell.Interop.IVsReference pReference);
abstract member AddReference : Microsoft.VisualStudio.Shell.Interop.IVsReference -> unit
Public Sub AddReference (pReference As IVsReference)

Parameters

pReference
IVsReference

[in] The reference to add to the reference collection.

Applies to