VCToolFile.AddCustomBuildRule(String, String, String, String) Метод

Определение

Добавляет настраиваемое правило в файл инструмента.

public:
 System::Object ^ AddCustomBuildRule(System::String ^ Name, System::String ^ CommandLine, System::String ^ Outputs, System::String ^ FileExtensions);
public:
 Platform::Object ^ AddCustomBuildRule(Platform::String ^ Name, Platform::String ^ CommandLine, Platform::String ^ Outputs, Platform::String ^ FileExtensions);
winrt::Windows::Foundation::IInspectable AddCustomBuildRule(std::wstring const & Name, std::wstring const & CommandLine, std::wstring const & Outputs, std::wstring const & FileExtensions);
[System.Runtime.InteropServices.DispId(2206)]
public object AddCustomBuildRule (string Name, string CommandLine, string Outputs, string FileExtensions);
[<System.Runtime.InteropServices.DispId(2206)>]
abstract member AddCustomBuildRule : string * string * string * string -> obj
Public Function AddCustomBuildRule (Name As String, CommandLine As String, Outputs As String, FileExtensions As String) As Object

Параметры

Name
String

Имя правила построения

CommandLine
String

Текст командной строки.

Outputs
String

Выходные данные средства построения.

FileExtensions
String

Список расширений, применяемых к этому правилу построения.

Возвращаемое значение

Object

Объект правила построения.

Атрибуты

Применяется к