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)

Syntax

‘선언
<GuidAttribute("7F7CD0DB-91EF-49DC-9FA9-02D128515DD4")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSolution
‘사용 방법
Dim instance As IVsSolution
[GuidAttribute("7F7CD0DB-91EF-49DC-9FA9-02D128515DD4")]
[InterfaceTypeAttribute()]
public interface IVsSolution
[GuidAttribute(L"7F7CD0DB-91EF-49DC-9FA9-02D128515DD4")]
[InterfaceTypeAttribute()]
public interface class IVsSolution
[<GuidAttribute("7F7CD0DB-91EF-49DC-9FA9-02D128515DD4")>]
[<InterfaceTypeAttribute()>]
type IVsSolution =  interface end
public interface IVsSolution

Remarks

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.

Notes to Callers

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

See Also

Reference

IVsSolution Members

Microsoft.VisualStudio.Shell.Interop Namespace