Share via


ConsoleLogger.ApplyParameter Method

Adds the specified parameter name and value to the logger.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
Public Sub ApplyParameter ( _
    parameterName As String, _
    parameterValue As String _
)
public void ApplyParameter(
    string parameterName,
    string parameterValue
)
public:
void ApplyParameter(
    String^ parameterName, 
    String^ parameterValue
)
member ApplyParameter : 
        parameterName:string * 
        parameterValue:string -> unit
public function ApplyParameter(
    parameterName : String, 
    parameterValue : String
)

Parameters

  • parameterName
    Type: System.String

    The parameter name to add to the logger.

  • parameterValue
    Type: System.String

    The parameter value to assign to the parameterName.

.NET Framework Security

See Also

Reference

ConsoleLogger Class

Microsoft.Build.BuildEngine Namespace