VCCLCompilerTool.ExpandAttributedSource Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Kaynak dosyaya eklenmiş genişletilmiş öznitelikleri olan bir listeleme dosyası oluşturulup oluşturulmayacağını gösteren bir değer alır veya ayarlar. ExpandAttributedSource Derleyicinin /FX (eklenen kodu Birleştir) seçeneğinin işlevlerini gösterir.
public:
property bool ExpandAttributedSource { bool get(); void set(bool value); };
public:
property bool ExpandAttributedSource { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(170)]
public bool ExpandAttributedSource { [System.Runtime.InteropServices.DispId(170)] get; [System.Runtime.InteropServices.DispId(170)] set; }
[<System.Runtime.InteropServices.DispId(170)>]
[<get: System.Runtime.InteropServices.DispId(170)>]
[<set: System.Runtime.InteropServices.DispId(170)>]
member this.ExpandAttributedSource : bool with get, set
Public Property ExpandAttributedSource As Boolean
Özellik Değeri
true kaynak dosyaya eklenen genişletilmiş özniteliklere sahip bir listeleme dosyası oluşturmak için; Aksi takdirde, false .
- Öznitelikler
Örnekler
Bu örneği derlemek ve çalıştırmak hakkında bilgi için bkz. nasıl yapılır: proje modeli genişletilebilirliği Için örnek kod derleme .
Aşağıdaki örnek, ExpandAttributedSource Özelliği tümleşik geliştirme ortamında (IDE) değiştirir:
' 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.ExpandAttributedSource = True
End Sub
End Module