Partager via


IVsSolution2 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

'Déclaration
<GuidAttribute("95C6A090-BB9E-4BF2-B0BE-F1D04F0ECEA3")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSolution2 _
    Inherits IVsSolution
'Utilisation
Dim instance As IVsSolution2
[GuidAttribute("95C6A090-BB9E-4BF2-B0BE-F1D04F0ECEA3")]
[InterfaceTypeAttribute()]
public interface IVsSolution2 : IVsSolution
[GuidAttribute(L"95C6A090-BB9E-4BF2-B0BE-F1D04F0ECEA3")]
[InterfaceTypeAttribute()]
public interface class IVsSolution2 : IVsSolution
[<GuidAttribute("95C6A090-BB9E-4BF2-B0BE-F1D04F0ECEA3")>]
[<InterfaceTypeAttribute()>]
type IVsSolution2 =  
    interface
        interface IVsSolution
    end
public interface IVsSolution2 extends 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 VARIANT already converted to the proper VT_ type.

See Also

Reference

IVsSolution2 Members

Microsoft.VisualStudio.Shell.Interop Namespace