Condividi tramite


Proprietà VCLinkerTool.ShowProgress

Ottiene o imposta un valore che abilita una visualizzazione dettagliata dello stato di avanzamento del linker.

Spazio dei nomi:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Sintassi

'Dichiarazione
Property ShowProgress As linkProgressOption
linkProgressOption ShowProgress { get; set; }
property linkProgressOption ShowProgress {
    linkProgressOption get ();
    void set (linkProgressOption value);
}
abstract ShowProgress : linkProgressOption with get, set
function get ShowProgress () : linkProgressOption
function set ShowProgress (value : linkProgressOption)

Valore proprietà

Tipo: Microsoft.VisualStudio.VCProjectEngine.linkProgressOption
Enumerazione linkProgressOption.

Note

ShowProgress espone la funzionalità dell'opzione /VERBOSE (stampa di messaggi sullo stato) del linker e dell'opzione Pagine delle proprietà Risorse compilatore di risorse.

Utilizzare l'enumerazione linkProgressOption per modificare il valore della proprietà del linker.

La proprietà ShowProgress l'oggetto VCResourceCompilerTool accetta e restituisce un valore Boolean.

Vedere Procedura: compilare codice di esempio per l'Extensibility del modello di progetto per informazioni su come compilare ed eseguire l'esempio.

Esempi

Nell'esempio riportato di seguito la proprietà ShowProgress del linker nell'ambiente di sviluppo integrato (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 VCLinkerTool
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.Tools("VCLinkerTool")
        tool.ShowProgress = linkProgressOption.linkProgressLibs
    End Sub
End Module

Sicurezza di .NET Framework

Vedere anche

Riferimenti

VCLinkerTool Interfaccia

Spazio dei nomi Microsoft.VisualStudio.VCProjectEngine