Udostępnij za pośrednictwem


Metoda VCToolFile.AddCustomBuildRule —

Dodaje regułę budowania niestandardowego pliku narzędzia.

Przestrzeń nazw:  Microsoft.VisualStudio.VCProjectEngine
Zestaw:  Microsoft.VisualStudio.VCProjectEngine (w Microsoft.VisualStudio.VCProjectEngine.dll)

Składnia

'Deklaracja
Function AddCustomBuildRule ( _
    Name As String, _
    CommandLine As String, _
    Outputs As String, _
    FileExtensions As String _
) As Object
Object AddCustomBuildRule(
    string Name,
    string CommandLine,
    string Outputs,
    string FileExtensions
)
Object^ AddCustomBuildRule(
    [InAttribute] String^ Name, 
    [InAttribute] String^ CommandLine, 
    [InAttribute] String^ Outputs, 
    [InAttribute] String^ FileExtensions
)
abstract AddCustomBuildRule : 
        Name:string * 
        CommandLine:string * 
        Outputs:string * 
        FileExtensions:string -> Object 
function AddCustomBuildRule(
    Name : String, 
    CommandLine : String, 
    Outputs : String, 
    FileExtensions : String
) : Object

Parametry

  • FileExtensions
    Typ: System.String
    Lista rozszerzeń plików, które stosuje się do tej reguły kompilacji.

Wartość zwracana

Typ: System.Object
Obiekt tworzenia reguły.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

VCToolFile Interfejs

Przestrzeń nazw Microsoft.VisualStudio.VCProjectEngine