NumberRangesAttribute Constructor (Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Boolean>, array<KeyAttributePair<NumberRangesAttribute> )
Initializes a new instance of the NumberRangesAttribute class.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Sub New ( _
hardMinimum As Nullable(Of Double), _
minimum As Nullable(Of Double), _
maximum As Nullable(Of Double), _
hardMaximum As Nullable(Of Double), _
canBeAuto As Nullable(Of Boolean), _
mapArray As KeyAttributePair(Of NumberRangesAttribute)() _
)
public NumberRangesAttribute(
Nullable<double> hardMinimum,
Nullable<double> minimum,
Nullable<double> maximum,
Nullable<double> hardMaximum,
Nullable<bool> canBeAuto,
KeyAttributePair<NumberRangesAttribute>[] mapArray
)
public:
NumberRangesAttribute(
Nullable<double> hardMinimum,
Nullable<double> minimum,
Nullable<double> maximum,
Nullable<double> hardMaximum,
Nullable<bool> canBeAuto,
array<KeyAttributePair<NumberRangesAttribute^>>^ mapArray
)
new :
hardMinimum:Nullable<float> *
minimum:Nullable<float> *
maximum:Nullable<float> *
hardMaximum:Nullable<float> *
canBeAuto:Nullable<bool> *
mapArray:KeyAttributePair<NumberRangesAttribute>[] -> NumberRangesAttribute
public function NumberRangesAttribute(
hardMinimum : Nullable<double>,
minimum : Nullable<double>,
maximum : Nullable<double>,
hardMaximum : Nullable<double>,
canBeAuto : Nullable<boolean>,
mapArray : KeyAttributePair<NumberRangesAttribute>[]
)
Parameters
- hardMinimum
Type: System.Nullable<Double>
The minimum value of the range, or nulla null reference (Nothing in Visual Basic) to use the default.
- minimum
Type: System.Nullable<Double>
The soft minimum value of the range, or nulla null reference (Nothing in Visual Basic) to use the default.
- maximum
Type: System.Nullable<Double>
The soft maximum value of the range, or nulla null reference (Nothing in Visual Basic) to use the default.
- hardMaximum
Type: System.Nullable<Double>
The maximum value of the range, or nulla null reference (Nothing in Visual Basic) to use the default.
- canBeAuto
Type: System.Nullable<Boolean>
true if the range can be set automatically; otherwise, false.
- mapArray
Type: array<Microsoft.Windows.Design.PropertyEditing.KeyAttributePair<NumberRangesAttribute>[]
An array of KeyAttributePair<T> instances.
.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.