IVsObjectManager2::CreateProjectReferenceSet Method (Object^, IVsSimpleBrowseComponentSet^)
Visual Studio 2015
Creates a simple component set which is automatically populated and synchronized with Visual Studio project references.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int CreateProjectReferenceSet(
Object^ pProject,
[OutAttribute] IVsSimpleBrowseComponentSet^% ppSet
)
Parameters
- pProject
-
Type:
System::Object^
An object that implements VSProject.
- ppSet
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsSimpleBrowseComponentSet^
A component set populated with Visual Studio project references.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
The reference set is automatically updated by Visual Studio when references are added or removed from the project. The symbols contained in the reference set are used for browsing in the Class View.
From vsshell80.idl:
HRESULT CreateProjectReferenceSet(
[in] IUnknown * pProject,
[out, retval] IVsSimpleBrowseComponentSet ** ppSet
);
Show: