VCAssemblyReference::project Property
Visual Studio 2015
Gets the generic Project object associated with the Visual Basic or Visual C# project. This property is read-only.
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Implements
VCReference::project' Macro Editor Imports VSLangProj ' Displays whether project has unsaved changes. Sub IsProjectSaved(ByVal aVSProject As VSProject) Dim theProject As EnvDTE.Project theProject = aVSProject.Project If (theProject.Saved) Then MsgBox(theProject.Name & " is saved.") Else MsgBox(theProject.Name & " is not saved.") End If End Sub
Show: