Freigeben über


VCLinkerTool.SuppressStartupBanner-Eigenschaft

Ruft einen Wert ab, der angibt, ob die Anzeige des Startbanners und der Informationsmeldungen unterdrückt werden soll, oder legt diesen fest.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

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

Eigenschaftswert

Typ: System.Boolean
true , wenn das Banner während des Starts unterdrückt wird, andernfalls false.

Hinweise

SuppressStartupBanner macht die Funktionen der /NOLOGO (Startbanner unterdrücken) (Linker)-Option des Linkers, die Ausführen von LIB-Option des Bibliothekars, die /nologo (Startbanner unterdrücken) (C/C++)-Option des Compilers, die /NOLOGO-Option des BSCMake-Tools, die Eigenschaftenseiten "MIDL": "Allgemein"-Option des MIDL Compilers und die /nologo-Option des VCWebServiceProxyGeneratorTool-Objekts verfügbar.

Siehe Gewusst wie: Kompilieren von Beispielcode für die Erweiterbarkeit von Projektmodellen Informationen zu, wie dieses Beispiel kompiliert und ausgeführt wird.

Beispiele

Im folgenden Beispiel ändert die SuppressStartupBanner-Eigenschaft des Linkers in der integrierten Entwicklungsumgebung (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.SuppressStartupBanner = False
    End Sub
End Module

.NET Framework-Sicherheit

Siehe auch

Referenz

VCLinkerTool Schnittstelle

Microsoft.VisualStudio.VCProjectEngine-Namespace