Share via


VCCLCompilerTool.AssemblerListingLocation – vlastnost

Získá nebo nastaví relativní cesta nebo název souboru výpisu ASM.AssemblerListingLocationzpřístupňuje funkce kompilátoru /Fa možnost.

Obor názvů:  Microsoft.VisualStudio.VCProjectEngine
Sestavení:  Microsoft.VisualStudio.VCProjectEngine (v Microsoft.VisualStudio.VCProjectEngine.dll)

Syntaxe

'Deklarace
Property AssemblerListingLocation As String
string AssemblerListingLocation { get; set; }
property String^ AssemblerListingLocation {
    String^ get ();
    void set (String^ value);
}
abstract AssemblerListingLocation : string with get, set
function get AssemblerListingLocation () : String
function set AssemblerListingLocation (value : String)

Hodnota vlastnosti

Typ: System.String
Relativní cesta nebo název souboru výpisu ASM.

Příklady

Viz Jak: kompilace příklad kódu pro rozšíření modelu projektu informace, jak sestavit a spustit tento příklad.

Následující příklad změní AssemblerListingLocation vlastnost v integrované vývojové prostředí (IDE):

' 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.AssemblerListingLocation = "MyFile"
    End Sub
End Module

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

VCCLCompilerTool Rozhraní

Microsoft.VisualStudio.VCProjectEngine – obor názvů