Subtract Class

MSBuild

Subtract numbers


Namespace: MSBuild.Community.Tasks.Math
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
Public Class Subtract
    Inherits MathBase
C#
public class Subtract : MathBase
C++
ref class Subtract : MathBase
J#
public class Subtract extends MathBase
JScript
public class Subtract extends MathBase

Example

 Copy Code
            <Math.Subtract Numbers="10;3">
                <Output TaskParameter="Result" PropertyName="Result" />
            </Math.Subtract>
            <Message Text="Subtract 10-3= $(Result)"/>
            

Inheritance Hierarchy

System.Object
   Microsoft.Build.Utilities.Task
      MSBuild.Community.Tasks.Math.MathBase
         MSBuild.Community.Tasks.Math.Subtract

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.