次の方法で共有


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);
[<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

Parameters

Name
String

Name of the build rule

CommandLine
String

Command line text.

Outputs
String

Build tool outputs.

FileExtensions
String

List of file extensions that apply to this build rule.

Returns

A Build Rule object.

Attributes

Applies to