Freigeben über


VCCustomBuildTool.Outputs-Eigenschaft

Ruft die Ausgabedateien ab, die der benutzerdefinierte Buildschritt generiert, oder legt diese fest.

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

Syntax

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

Eigenschaftswert

Typ: String
Die Ausgabedateien, die der benutzerdefinierte Buildschritt generiert.

Hinweise

Informationen zum Kompilieren und Ausführen dieses Beispiels finden Sie unter Gewusst wie: Kompilieren von Beispielcode für die Erweiterbarkeit von Projektmodellen.

Beispiele

Im folgenden Beispiel wird die Eigenschaft Outputs 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 VCCustomBuildTool
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.Tools("VCCustomBuildTool")
        tool.Outputs = "your output"
    End Sub
End Module

.NET Framework-Sicherheit

Siehe auch

Referenz

VCCustomBuildTool Schnittstelle

Microsoft.VisualStudio.VCProjectEngine-Namespace