Aracılığıyla paylaş


VCFilter.ParseFiles Özellik

Alır veya filtre dosyalarında IntelliSense incelemesi için açık olup olmadığını gösteren bir değeri ayarlar.

Ad alanı:  Microsoft.VisualStudio.VCProjectEngine
Derleme:  Microsoft.VisualStudio.VCProjectEngine (Microsoft.VisualStudio.VCProjectEngine.dll içinde)

Sözdizimi

'Bildirim
Property ParseFiles As Boolean
bool ParseFiles { get; set; }
property bool ParseFiles {
    bool get ();
    void set (bool value);
}
abstract ParseFiles : bool with get, set
function get ParseFiles () : boolean
function set ParseFiles (value : boolean)

Özellik Değeri

Tür: System.Boolean
true dosyaları için IntelliSense varsa; Aksi halde, false.

Notlar

Varsayılan olarak, herhangi bir filtre dosyalarında IntelliSense incelemesi için açıktır.

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.

Örnekler

Aşağıdaki örnek ParseFiles , tümleşik geliştirme ortamı (IDE):

' Macro code.
' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine
Public Module Module1
    Sub Test()
        Dim idx As Integer
        Dim filter As VCFilter
        Dim col As IVCCollection
        Dim prj, prj2 As VCProject
        prj = DTE.Solution.Projects.Item(1).Object
        col = prj.Filters
        For idx = 1 To col.Count
            filter = col.Item(idx)
            ' filter.ParseFiles returns the value of the property
            filter.ParseFiles = False
        Next
    End Sub
End Module

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

VCFilter Arabirim

Microsoft.VisualStudio.VCProjectEngine Ad Alanı