NumberIncrementsAttribute 构造函数 (Nullable<Double>, Nullable<Double>, Nullable<Double>, array<KeyAttributePair<NumberIncrementsAttribute> )
使用指定的参数初始化 NumberIncrementsAttribute 类的新实例。
命名空间: Microsoft.Windows.Design.PropertyEditing
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public Sub New ( _
smallChange As Nullable(Of Double), _
defaultChange As Nullable(Of Double), _
largeChange As Nullable(Of Double), _
mapArray As KeyAttributePair(Of NumberIncrementsAttribute)() _
)
public NumberIncrementsAttribute(
Nullable<double> smallChange,
Nullable<double> defaultChange,
Nullable<double> largeChange,
KeyAttributePair<NumberIncrementsAttribute>[] mapArray
)
public:
NumberIncrementsAttribute(
Nullable<double> smallChange,
Nullable<double> defaultChange,
Nullable<double> largeChange,
array<KeyAttributePair<NumberIncrementsAttribute^>>^ mapArray
)
new :
smallChange:Nullable<float> *
defaultChange:Nullable<float> *
largeChange:Nullable<float> *
mapArray:KeyAttributePair<NumberIncrementsAttribute>[] -> NumberIncrementsAttribute
public function NumberIncrementsAttribute(
smallChange : Nullable<double>,
defaultChange : Nullable<double>,
largeChange : Nullable<double>,
mapArray : KeyAttributePair<NumberIncrementsAttribute>[]
)
参数
- smallChange
类型:System.Nullable<Double>
小增量的值。
- defaultChange
类型:System.Nullable<Double>
默认增量的值。
- largeChange
类型:System.Nullable<Double>
大增量的值。
- mapArray
类型:array<Microsoft.Windows.Design.PropertyEditing.KeyAttributePair<NumberIncrementsAttribute>[]
一个 KeyAttributePair<T> 实例数组。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。