VCToolFile.AddCustomBuildRule(String, String, String, String) VCToolFile.AddCustomBuildRule(String, String, String, String) VCToolFile.AddCustomBuildRule(String, String, String, String) VCToolFile.AddCustomBuildRule(String, String, String, String) VCToolFile.AddCustomBuildRule(String, String, String, String) VCToolFile.AddCustomBuildRule(String, String, String, String) Method

Definition

Adds a custom build rule to the tool file.

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);
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
Parameters
Name
String String String String String String

Name of the build rule

CommandLine
String String String String String String

Command line text.

Outputs
String String String String String String

Build tool outputs.

FileExtensions
String String String String String String

List of file extensions that apply to this build rule.

Returns

A Build Rule object.

Applies to