IVsSolution2 Methods

 

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

NameDescription
System_CAPS_pubmethodAddVirtualProject(IVsHierarchy^, UInt32)

Adds a type of virtual project that is not created by clicking OpenProject on the New menu to open the solution.

System_CAPS_pubmethodAddVirtualProjectEx(IVsHierarchy^, UInt32, Guid)

Assigns the original GUID to the project when it is recreated the next time the solution is opened.

System_CAPS_pubmethodAdviseSolutionEvents(IVsSolutionEvents^, UInt32)

Establishes client notification of solution events.

System_CAPS_pubmethodCanCreateNewProjectAtLocation(Int32, String^, Int32)

Determines whether a new project can be created at a given location.

System_CAPS_pubmethodCloseSolutionElement(UInt32, IVsHierarchy^, UInt32)

Programmatically closes a document, a project, or the entire solution.

System_CAPS_pubmethodCreateNewProjectViaDlg(String^, String^, UInt32)

Controls options for the Create New Project dialog box.

System_CAPS_pubmethodCreateProject(Guid, String^, String^, String^, UInt32, Guid, IntPtr)

Creates or opens a project.

System_CAPS_pubmethodCreateSolution(String^, String^, UInt32)

Creates a new solution.

System_CAPS_pubmethodGenerateNextDefaultProjectName(String^, String^, String^)

Generates the next default project name given a specific path.

System_CAPS_pubmethodGenerateUniqueProjectName(String^, String^)

Generates a unique project name, given a root project name.

System_CAPS_pubmethodGetGuidOfProject(IVsHierarchy^, Guid)

Returns the unique identifier for a project in the solution.

System_CAPS_pubmethodGetItemInfoOfProjref(String^, Int32, Object^)

Obtains the required property for the specified project item reference.

System_CAPS_pubmethodGetItemOfProjref(String^, IVsHierarchy^, UInt32, String^, array<VSUPDATEPROJREFREASON>^)

Returns a hierarchy and hierarchy item pair for the specified project reference string.

System_CAPS_pubmethodGetProjectEnum(UInt32, Guid, IEnumHierarchies^)

Returns an enumerator for all the projects in the solution.

System_CAPS_pubmethodGetProjectFactory(UInt32, Guid, String^, IVsProjectFactory^)

Returns a project factory.

System_CAPS_pubmethodGetProjectFactory(UInt32, array<Guid>^, String^, IVsProjectFactory^)

Returns a project factory.(Inherited from IVsSolution.)

System_CAPS_pubmethodGetProjectFilesInSolution(UInt32, UInt32, array<String^>^, UInt32)

Compiles a list of the specified projects in the solution.

System_CAPS_pubmethodGetProjectInfoOfProjref(String^, Int32, Object^)

Obtains the required property for the specified project reference.

System_CAPS_pubmethodGetProjectOfGuid(Guid, IVsHierarchy^)

Returns the project in the solution, given a unique identifier.

System_CAPS_pubmethodGetProjectOfProjref(String^, IVsHierarchy^, String^, array<VSUPDATEPROJREFREASON>^)

Returns a hierarchy for the specified project reference string.

System_CAPS_pubmethodGetProjectOfUniqueName(String^, IVsHierarchy^)

Returns the project in the solution, given a unique name.

System_CAPS_pubmethodGetProjectTypeGuid(UInt32, String^, Guid)

Returns the project type, given a GUID.

System_CAPS_pubmethodGetProjrefOfItem(IVsHierarchy^, UInt32, String^)

Returns a project reference string for the specified hierarchy and hierarchy item pair.

System_CAPS_pubmethodGetProjrefOfProject(IVsHierarchy^, String^)

Returns a project reference string for the specified hierarchy.

System_CAPS_pubmethodGetProperty(Int32, Object^)

Returns the specified property of the solution.

System_CAPS_pubmethodGetSolutionInfo(String^, String^, String^)

Returns the required solution file information.

System_CAPS_pubmethodGetUniqueNameOfProject(IVsHierarchy^, String^)

Returns the unique name, given a project in the solution.

System_CAPS_pubmethodGetVirtualProjectFlags(IVsHierarchy^, UInt32)

Determines how the virtual project was added to the Solution Explorer.

System_CAPS_pubmethodOnAfterRenameProject(IVsProject^, String^, String^, UInt32)

Completes the renaming of a project.

System_CAPS_pubmethodOpenSolutionFile(UInt32, String^)

Opens a solution file of the type .sln, .dsw, or .vbg.

System_CAPS_pubmethodOpenSolutionViaDlg(String^, Int32)

Controls options for the Open Solution dialog box.

System_CAPS_pubmethodQueryEditSolutionFile(UInt32)

Determines whether the solution file can be changed.

System_CAPS_pubmethodQueryRenameProject(IVsProject^, String^, String^, UInt32, Int32)

Determines whether the project can be renamed.

System_CAPS_pubmethodRemoveVirtualProject(IVsHierarchy^, UInt32)

Removes a virtual project from the solution.

System_CAPS_pubmethodSaveSolutionElement(UInt32, IVsHierarchy^, UInt32)

Programmatically saves a document, a project, or the entire solution.

System_CAPS_pubmethodSetProperty(Int32, Object^)

Generically sets properties of the solution.

System_CAPS_pubmethodUnadviseSolutionEvents(UInt32)

Disables a client from receiving notifications of solution events.

System_CAPS_pubmethodUpdateProjectFileLocation(IVsHierarchy^)

Notifies a solution of a project file location change.

Return to top
Show: