IVsProject2 Arabirim
Yayýmlanma: Ağustos 2016
Kaldırın ve yöntemlere ek olarak, proje içindeki öğelerin yeniden yeteneği sağlar IVsProject arabirimi.
Ad Alanı: Microsoft.VisualStudio.Shell.Interop
Derleme: Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)
Sözdizimi
[InterfaceTypeAttribute(1)]
[GuidAttribute("4AF886C3-7796-4C81-A174-4A87080DEE58")]
public interface IVsProject2 : IVsProject
[InterfaceTypeAttribute(1)]
[GuidAttribute("4AF886C3-7796-4C81-A174-4A87080DEE58")]
public interface class IVsProject2 : IVsProject
[<InterfaceTypeAttribute(1)>]
[<GuidAttribute("4AF886C3-7796-4C81-A174-4A87080DEE58")>]
type IVsProject2 =
interface
interface IVsProject
end
<InterfaceTypeAttribute(1)>
<GuidAttribute("4AF886C3-7796-4C81-A174-4A87080DEE58")>
Public Interface IVsProject2
Inherits IVsProject
Yöntemler
Ad | Açıklama | |
---|---|---|
AddItem(UInt32, VSADDITEMOPERATION, String, UInt32, String[], IntPtr, VSADDRESULT[]) | Projede yeni öğeleri oluşturur, varolan dosyaları projeye ekler veya neden Öğe Ekle sihirbazları çalıştırılacak. |
|
GenerateUniqueItemName(UInt32, String, String, String) | Belirli bir öğe için bir benzersiz belge adı oluşturur. |
|
GetItemContext(UInt32, IServiceProvider) | Bir öğenin bağlamını döndürür. |
|
GetMkDocument(UInt32, String) | Belge bilinen adını döndürür. |
|
IsDocumentInProject(String, Int32, VSDOCUMENTPRIORITY[], UInt32) | Bir belge projede olup olmadığını belirler. |
|
OpenItem(UInt32, Guid, IntPtr, IVsWindowFrame) | Bir öğeyi açar. |
|
RemoveItem(UInt32, UInt32, Int32) | Bir öğe projeden kaldırır. |
|
ReopenItem(UInt32, Guid, String, Guid, IntPtr, IVsWindowFrame) | Projedeki bir öğeyi yeniden açar. |
Gerçekleştirenlere Notlar:
Uygulama IVsProject2 kaldırın veya yeniden öğeleri ya da belirli bir düzenleyici kullanarak bir proje belgeler veya projeler arasında bir öğe aktarmak için gereken zaman.
Ayrıca bkz.
Microsoft.VisualStudio.Shell.Interop Ad Alanı
Başa dön