Compartir a través de


IVsSolution2 Members

Include Protected Members
Include Inherited Members

Provides top-level manipulation or maintenance of the solution.

The IVsSolution2 type exposes the following members.

Methods

  Name Description
Public method AddVirtualProject Adds a type of virtual project that is not created by clicking Open Project on the New menu to open the solution. (Inherited from IVsSolution.)
Public method AddVirtualProject(IVsHierarchy, UInt32) Adds a type of virtual project that is not created by clicking OpenProject on the New menu to open the solution.
Public method AddVirtualProjectEx Assigns the original GUID to the project when it is recreated the next time the solution is opened. (Inherited from IVsSolution.)
Public method AddVirtualProjectEx(IVsHierarchy, UInt32, Guid%) Assigns the original GUID to the project when it is recreated the next time the solution is opened.
Public method AdviseSolutionEvents Establishes client notification of solution events. (Inherited from IVsSolution.)
Public method AdviseSolutionEvents(IVsSolutionEvents, UInt32%) Establishes client notification of solution events.
Public method CanCreateNewProjectAtLocation Determines whether a new project can be created at a given location. (Inherited from IVsSolution.)
Public method CanCreateNewProjectAtLocation(Int32, String, Int32%) Determines whether a new project can be created at a given location.
Public method CloseSolutionElement Programmatically closes a document, a project, or the entire solution. (Inherited from IVsSolution.)
Public method CloseSolutionElement(UInt32, IVsHierarchy, UInt32) Programmatically closes a document, a project, or the entire solution.
Public method CreateNewProjectViaDlg Controls options for the Create New Project dialog box. (Inherited from IVsSolution.)
Public method CreateNewProjectViaDlg(String, String, UInt32) Controls options for the Create New Project dialog box.
Public method CreateProject Creates or opens a project. (Inherited from IVsSolution.)
Public method CreateProject(Guid%, String, String, String, UInt32, Guid%, IntPtr%) Creates or opens a project.
Public method CreateSolution Creates a new solution. (Inherited from IVsSolution.)
Public method CreateSolution(String, String, UInt32) Creates a new solution.
Public method GenerateNextDefaultProjectName This method obtains the default name for the next project in the solution (ProjectN).Generates the next default project name given a specific path. (Inherited from IVsSolution.)
Public method GenerateNextDefaultProjectName(String, String, String%) Generates the next default project name given a specific path.
Public method GenerateUniqueProjectName Generates a unique project name, given a root project name. (Inherited from IVsSolution.)
Public method GenerateUniqueProjectName(String, String%) Generates a unique project name, given a root project name.
Public method GetGuidOfProject Returns the unique identifier for a project in the solution. (Inherited from IVsSolution.)
Public method GetGuidOfProject(IVsHierarchy, Guid%) Returns the unique identifier for a project in the solution.
Public method GetItemInfoOfProjref Obtains the required property for the specified project item reference. (Inherited from IVsSolution.)
Public method GetItemInfoOfProjref(String, Int32, Object%) Obtains the required property for the specified project item reference.
Public method GetItemOfProjref Returns a hierarchy and hierarchy item pair for the specified project reference string. (Inherited from IVsSolution.)
Public method GetItemOfProjref(String, IVsHierarchy%, UInt32%, String%, array<VSUPDATEPROJREFREASON[]) Returns a hierarchy and hierarchy item pair for the specified project reference string.
Public method GetProjectEnum Returns an enumerator for all the projects in the solution. (Inherited from IVsSolution.)
Public method GetProjectEnum(UInt32, Guid%, IEnumHierarchies%) Returns an enumerator for all the projects in the solution.
Public method GetProjectFactory Returns a project factory. (Inherited from IVsSolution.)
Public method GetProjectFactory(UInt32, Guid%, String, IVsProjectFactory%) Returns a project factory.
Public method GetProjectFilesInSolution Compiles a list of the specified projects in the solution. (Inherited from IVsSolution.)
Public method GetProjectFilesInSolution(UInt32, UInt32, array<String[], UInt32%) Compiles a list of the specified projects in the solution.
Public method GetProjectInfoOfProjref Obtains the required property for the specified project reference. (Inherited from IVsSolution.)
Public method GetProjectInfoOfProjref(String, Int32, Object%) Obtains the required property for the specified project reference.
Public method GetProjectOfGuid Returns the project in the solution, given a unique identifier. (Inherited from IVsSolution.)
Public method GetProjectOfGuid(Guid%, IVsHierarchy%) Returns the project in the solution, given a unique identifier.
Public method GetProjectOfProjref Returns a hierarchy for the specified project reference string. (Inherited from IVsSolution.)
Public method GetProjectOfProjref(String, IVsHierarchy%, String%, array<VSUPDATEPROJREFREASON[]) Returns a hierarchy for the specified project reference string.
Public method GetProjectOfUniqueName Returns the project in the solution, given a unique name. (Inherited from IVsSolution.)
Public method GetProjectOfUniqueName(String, IVsHierarchy%) Returns the project in the solution, given a unique name.
Public method GetProjectTypeGuid Returns the project type, given a GUID. (Inherited from IVsSolution.)
Public method GetProjectTypeGuid(UInt32, String, Guid%) Returns the project type, given a GUID.
Public method GetProjrefOfItem Returns a project reference string for the specified hierarchy and hierarchy item pair. (Inherited from IVsSolution.)
Public method GetProjrefOfItem(IVsHierarchy, UInt32, String%) Returns a project reference string for the specified hierarchy and hierarchy item pair.
Public method GetProjrefOfProject Returns a project reference string for the specified hierarchy. (Inherited from IVsSolution.)
Public method GetProjrefOfProject(IVsHierarchy, String%) Returns a project reference string for the specified hierarchy.
Public method GetProperty Returns the specified property of the solution. (Inherited from IVsSolution.)
Public method GetProperty(Int32, Object%) Returns the specified property of the solution.
Public method GetSolutionInfo Returns the required solution file information. (Inherited from IVsSolution.)
Public method GetSolutionInfo(String%, String%, String%) Returns the required solution file information.
Public method GetUniqueNameOfProject Returns the unique name, given a project in the solution. (Inherited from IVsSolution.)
Public method GetUniqueNameOfProject(IVsHierarchy, String%) Returns the unique name, given a project in the solution.
Public method GetVirtualProjectFlags Determines how the virtual project was added to the Solution Explorer. (Inherited from IVsSolution.)
Public method GetVirtualProjectFlags(IVsHierarchy, UInt32%) Determines how the virtual project was added to the Solution Explorer.
Public method OnAfterRenameProject Completes the renaming of a project. (Inherited from IVsSolution.)
Public method OnAfterRenameProject(IVsProject, String, String, UInt32) Completes the renaming of a project.
Public method OpenSolutionFile Opens a solution file of the type .sln, .dsw, or .vbg. (Inherited from IVsSolution.)
Public method OpenSolutionFile(UInt32, String) Opens a solution file of the type .sln, .dsw, or .vbg.
Public method OpenSolutionViaDlg Controls options for the Open Solution dialog box. (Inherited from IVsSolution.)
Public method OpenSolutionViaDlg(String, Int32) Controls options for the Open Solution dialog box.
Public method QueryEditSolutionFile Determines whether the solution file can be changed. (Inherited from IVsSolution.)
Public method QueryEditSolutionFile(UInt32%) Determines whether the solution file can be changed.
Public method QueryRenameProject Determines whether the project can be renamed. (Inherited from IVsSolution.)
Public method QueryRenameProject(IVsProject, String, String, UInt32, Int32%) Determines whether the project can be renamed.
Public method RemoveVirtualProject Removes a virtual project from the solution. (Inherited from IVsSolution.)
Public method RemoveVirtualProject(IVsHierarchy, UInt32) Removes a virtual project from the solution.
Public method SaveSolutionElement Programmatically saves a document, a project, or the entire solution. (Inherited from IVsSolution.)
Public method SaveSolutionElement(UInt32, IVsHierarchy, UInt32) Programmatically saves a document, a project, or the entire solution.
Public method SetProperty Generically sets properties of the solution. (Inherited from IVsSolution.)
Public method SetProperty(Int32, Object) Generically sets properties of the solution.
Public method UnadviseSolutionEvents Disables a client from receiving notifications of solution events. (Inherited from IVsSolution.)
Public method UnadviseSolutionEvents(UInt32) Disables a client from receiving notifications of solution events.
Public method UpdateProjectFileLocation Notifies a solution of a project file location change.

Top

See Also

Reference

IVsSolution2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace