VCCLCompilerTool.ShowIncludes Özellik
Alır veya derleyici çıktısını içeren dosyaları Ekle listesini oluşturmak isteyip gösteren bir değeri ayarlar. ShowIncludesDerleyici 's iþlevselliði /showIncludes (liste dosyaları dahil) seçeneği.
Ad alanı: Microsoft.VisualStudio.VCProjectEngine
Derleme: Microsoft.VisualStudio.VCProjectEngine (Microsoft.VisualStudio.VCProjectEngine.dll içinde)
Sözdizimi
'Bildirim
Property ShowIncludes As Boolean
bool ShowIncludes { get; set; }
property bool ShowIncludes {
bool get ();
void set (bool value);
}
abstract ShowIncludes : bool with get, set
function get ShowIncludes () : boolean
function set ShowIncludes (value : boolean)
Özellik Değeri
Tür: System.Boolean
true derleyici çıktısını içeren dosyaları Ekle listesini oluşturulur Aksi halde, false.
Örnekler
Bkz: Nasıl yapılır: proje modeli genişletilebilirlik amacıyla örnek kodu derleyin derlemek ve bu örnek çalıştırma hakkında bilgi için.
Aşağıdaki örnek değiştirir ShowIncludes tümleşik geliştirme ortamını (IDE) özelliği:
' add reference to Microsoft.VisualStudio.VCProjectEngine.
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
Sub Test()
Dim prj As VCProject
Dim cfgs, tools As IVCCollection
Dim cfg As VCConfiguration
Dim tool As VCCLCompilerTool
prj = DTE.Solution.Projects.Item(1).Object
cfgs = prj.Configurations
cfg = cfgs.Item(1)
tool = cfg.Tools("VCCLCompilerTool")
tool.ShowIncludes = True
End Sub
End Module
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.