Share via


IntProperty.MaxValue Property

Gets or sets the maximum allowed value for this property.

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.Framework.XamlTypes
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

Syntax

'Declaration
Public Property MaxValue As Nullable(Of Integer)
public Nullable<int> MaxValue { get; set; }
public:
property Nullable<int> MaxValue {
    Nullable<int> get ();
    void set (Nullable<int> value);
}
member MaxValue : Nullable<int> with get, set
function get MaxValue () : Nullable<int>
function set MaxValue (value : Nullable<int>)

Property Value

Type: Nullable<Int32>
Returns the maximum allowed value. Returns nulla null reference (Nothing in Visual Basic) when this property is not set.

Remarks

This field is optional.

The value of this property must be greater than or equal to the MinValue property (if the latter is defined).

.NET Framework Security

See Also

Reference

IntProperty Class

Microsoft.Build.Framework.XamlTypes Namespace