Export (0) Print
Expand All

IVsSolution Interface

Provides top-level manipulation or maintenance of the solution.

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

public interface IVsSolution

A project reference is a string value that is used as a unique project identifier and that is independent of which solution uses the project. The project reference is composed of the following:

  • Path

  • Project name

  • Project type

  • Project GUID

  • Project type GUID

Each __VSPROPID must return a VARIANT structure filled with the proper VT_ type. The caller may assume that the VT_ is correct; that there is no need to call VariantChangeType, or to verify the type, beyond an ASSERT to make sure there weren't header file mismatches and related problems.

This same logic applies to the caller when setting the property. The solution will assume that the caller has passed a VARIANY already converted to the proper VT_ type.

See illustrations of the implementation and/or calling of this interface in the samples Basic Project, Solution Extender, and Figures Project.

Notes to Callers:

Called to manage solutions. IVsSolution is implemented by the environment through the SVsSolution service.

Community Additions

© 2015 Microsoft