Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Adds a custom build rule to the tool file.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'Declaration
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
Parameters
- Name
Type: System.String
Name of the build rule
- CommandLine
Type: System.String
Command line text.
- Outputs
Type: System.String
Build tool outputs.
- FileExtensions
Type: System.String
List of file extensions that apply to this build rule.
Return Value
Type: System.Object
A Build Rule object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.