Aracılığıyla paylaş


IVsSolution2 Arabirim

 

Üst düzey düzenleme veya çözümün bakım sağlar.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

[GuidAttribute("95C6A090-BB9E-4BF2-B0BE-F1D04F0ECEA3")]
[InterfaceTypeAttribute(1)]
public interface IVsSolution2 : IVsSolution
[GuidAttribute("95C6A090-BB9E-4BF2-B0BE-F1D04F0ECEA3")]
[InterfaceTypeAttribute(1)]
public interface class IVsSolution2 : IVsSolution
[<GuidAttribute("95C6A090-BB9E-4BF2-B0BE-F1D04F0ECEA3")>]
[<InterfaceTypeAttribute(1)>]
type IVsSolution2 = 
    interface
        interface IVsSolution
    end
<GuidAttribute("95C6A090-BB9E-4BF2-B0BE-F1D04F0ECEA3")>
<InterfaceTypeAttribute(1)>
Public Interface IVsSolution2
    Inherits IVsSolution

Yöntemler

Ad Açıklama
System_CAPS_pubmethod AddVirtualProject(IVsHierarchy, UInt32)

Tıklatarak oluşturulmaz sanal proje türü ekler açmakProje üzerinde Yeni menüsünü kullanarak çözümü açın.

System_CAPS_pubmethod AddVirtualProjectEx(IVsHierarchy, UInt32, Guid)

Çözüm bir sonraki açılışında yeniden oluşturulduğunda özgün GUID projeye atar.

System_CAPS_pubmethod AdviseSolutionEvents(IVsSolutionEvents, UInt32)

Çözüm olayların istemci bildirimi oluşturur.

System_CAPS_pubmethod CanCreateNewProjectAtLocation(Int32, String, Int32)

Yeni bir proje belirli bir konumda oluşturulan olup olmadığını belirler.

System_CAPS_pubmethod CloseSolutionElement(UInt32, IVsHierarchy, UInt32)

Program aracılığıyla bir belge, proje veya çözümün tamamı kapatır.

System_CAPS_pubmethod CreateNewProjectViaDlg(String, String, UInt32)

Denetimleri için seçenekleri Yeni Proje oluştur iletişim kutusu.

System_CAPS_pubmethod CreateProject(Guid, String, String, String, UInt32, Guid, IntPtr)

Bir proje açar veya oluşturur.

System_CAPS_pubmethod CreateSolution(String, String, UInt32)

Yeni bir çözüm oluşturur.

System_CAPS_pubmethod GenerateNextDefaultProjectName(String, String, String)

Belirli bir yol verilen sonraki varsayılan proje adı oluşturur.

System_CAPS_pubmethod GenerateUniqueProjectName(String, String)

Kök proje adı verilen bir benzersiz proje adı oluşturur.

System_CAPS_pubmethod GetGuidOfProject(IVsHierarchy, Guid)

Çözümdeki bir proje için benzersiz tanımlayıcı döndürür.

System_CAPS_pubmethod GetItemInfoOfProjref(String, Int32, Object)

Belirtilen proje öğesi başvurusu gerekli özelliği alır.

System_CAPS_pubmethod GetItemOfProjref(String, IVsHierarchy, UInt32, String, VSUPDATEPROJREFREASON[])

Bir hiyerarşi ve hiyerarşi öğesi çifti için belirtilen proje başvurusu dize döndürür.

System_CAPS_pubmethod GetProjectEnum(UInt32, Guid, IEnumHierarchies)

Çözümdeki tüm projeleri için bir numaralandırıcı döndürür.

System_CAPS_pubmethod GetProjectFactory(UInt32, Guid, String, IVsProjectFactory)

Bir proje Üreteç döndürür.

System_CAPS_pubmethod GetProjectFactory(UInt32, Guid[], String, IVsProjectFactory)

Bir proje Üreteç döndürür.(Devralındığı yer: IVsSolution.)

System_CAPS_pubmethod GetProjectFilesInSolution(UInt32, UInt32, String[], UInt32)

Çözümde belirtilen proje listesini derler.

System_CAPS_pubmethod GetProjectInfoOfProjref(String, Int32, Object)

Belirtilen proje başvurusu gerekli özelliği alır.

System_CAPS_pubmethod GetProjectOfGuid(Guid, IVsHierarchy)

Proje benzersiz bir tanımlayıcı verilen çözümde döndürür.

System_CAPS_pubmethod GetProjectOfProjref(String, IVsHierarchy, String, VSUPDATEPROJREFREASON[])

Belirtilen proje başvurusu dize için bir hiyerarşi döndürür.

System_CAPS_pubmethod GetProjectOfUniqueName(String, IVsHierarchy)

Proje benzersiz bir ad verilen çözümde döndürür.

System_CAPS_pubmethod GetProjectTypeGuid(UInt32, String, Guid)

Proje türü bir GUID verilen döndürür.

System_CAPS_pubmethod GetProjrefOfItem(IVsHierarchy, UInt32, String)

Belirtilen hiyerarşinin ve hiyerarşi öğesi çifti için bir proje başvurusu dize döndürür.

System_CAPS_pubmethod GetProjrefOfProject(IVsHierarchy, String)

Belirtilen hiyerarşi için bir proje başvurusu dize döndürür.

System_CAPS_pubmethod GetProperty(Int32, Object)

Belirtilen özellik çözümünün döndürür.

System_CAPS_pubmethod GetSolutionInfo(String, String, String)

Gerekli çözüm dosya bilgilerini döndürür.

System_CAPS_pubmethod GetUniqueNameOfProject(IVsHierarchy, String)

Çözümdeki bir proje verilen benzersiz bir ad döndürür.

System_CAPS_pubmethod GetVirtualProjectFlags(IVsHierarchy, UInt32)

Çözüm Gezgini sanal projesine nasıl eklendi belirler.

System_CAPS_pubmethod OnAfterRenameProject(IVsProject, String, String, UInt32)

Bir proje yeniden adlandırma tamamlar.

System_CAPS_pubmethod OpenSolutionFile(UInt32, String)

Bir çözüm dosyasını .sln türü, .dsw veya .vbg açar.

System_CAPS_pubmethod OpenSolutionViaDlg(String, Int32)

Çözümü Aç iletişim kutusu denetimleri seçenekleri.

System_CAPS_pubmethod QueryEditSolutionFile(UInt32)

Çözüm dosyası değiştirilip değiştirilemeyeceğini belirler.

System_CAPS_pubmethod QueryRenameProject(IVsProject, String, String, UInt32, Int32)

Projeyi yeniden adlandırılabilir olup olmadığını belirler.

System_CAPS_pubmethod RemoveVirtualProject(IVsHierarchy, UInt32)

Sanal bir projeyi çözümden kaldırır.

System_CAPS_pubmethod SaveSolutionElement(UInt32, IVsHierarchy, UInt32)

Program aracılığıyla bir belge, proje veya çözümün tamamı kaydeder.

System_CAPS_pubmethod SetProperty(Int32, Object)

Genel çözümü özelliklerini ayarlar.

System_CAPS_pubmethod UnadviseSolutionEvents(UInt32)

Bir istemcinin çözüm olay bildirimleri alma devre dışı bırakır.

System_CAPS_pubmethod UpdateProjectFileLocation(IVsHierarchy)

Proje dosyası konumu değişikliği bir çözüm bildirir.

Notlar

Bir proje başvurusu, proje benzersiz tanımlayıcısı olarak kullanılır ve hangi çözüm proje kullanır bağımsız bir dize değeridir. Proje başvurusu aşağıdakilerden oluşur:

  • Yolu

  • Proje adı

  • Proje türü

  • Proje GUID

  • Proje türü GUID

Her __VSPROPID uygun VT_ türü ile doldurulan bir değişken yapısı döndürmesi gerekir. Arayan VT_ doğru olduğunu varsayabilir; çağrılacak gerek yoktur VariantChangeType, veya var olmayan üstbilgi dosyası uyuşmazlıkları ve ilgili sorunları emin olmak için bir onay ötesinde türü doğrulanamadı.

Bu aynı mantığı özelliğini ayarlarken çağıran için geçerlidir. Çözüm arayan bir değişken zaten doğru VT_ türe dönüştürülen geçtikten olduğunu varsayar.

Ayrıca bkz.

Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön