語言

CombinatorialRangeAttribute 建構函式

定義

多載

CombinatorialRangeAttribute(Int32, Int32)

初始化 CombinatorialRangeAttribute 類別的新執行個體。

public CombinatorialRangeAttribute(int from, int count);
new Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.CombinatorialRangeAttribute : int * int -> Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.CombinatorialRangeAttribute
Public Sub New (from As Integer, count As Integer)

參數

from
Int32

範圍起始的數值。

count
Int32

包含連續數值的正數。

適用於

CombinatorialRangeAttribute(UInt32, UInt32)

重要

此 API 不符合 CLS 規範。

初始化 CombinatorialRangeAttribute 類別的新執行個體。

[System.CLSCompliant(false)]
public CombinatorialRangeAttribute(uint from, uint count);
[<System.CLSCompliant(false)>]
new Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.CombinatorialRangeAttribute : uint32 * uint32 -> Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.CombinatorialRangeAttribute
Public Sub New (from As UInteger, count As UInteger)

參數

from
UInt32

範圍起始的數值。

count
UInt32

包含連續數值的正數。

屬性

適用於

CombinatorialRangeAttribute(Int32, Int32, Int32)

初始化 CombinatorialRangeAttribute 類別的新執行個體。

public CombinatorialRangeAttribute(int from, int to, int step);
new Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.CombinatorialRangeAttribute : int * int * int -> Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.CombinatorialRangeAttribute
Public Sub New (from As Integer, to As Integer, step As Integer)

參數

from
Int32

範圍起始的數值。

to
Int32

範圍末端的包含值。

step
Int32

每個數值變動的非零金額。

適用於

CombinatorialRangeAttribute(UInt32, UInt32, UInt32)

重要

此 API 不符合 CLS 規範。

初始化 CombinatorialRangeAttribute 類別的新執行個體。

[System.CLSCompliant(false)]
public CombinatorialRangeAttribute(uint from, uint to, uint step);
[<System.CLSCompliant(false)>]
new Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.CombinatorialRangeAttribute : uint32 * uint32 * uint32 -> Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.CombinatorialRangeAttribute
Public Sub New (from As UInteger, to As UInteger, step As UInteger)

參數

from
UInt32

範圍起始的數值。

to
UInt32

範圍末端的包含值。

step
UInt32

每個數值變化的正值。

屬性

適用於