語言

CombinatorialValuesAttribute 類別

定義

重要

此 API 不符合 CLS 規範。

指定組合測試方法中參數的值。

[System.AttributeUsage(System.AttributeTargets.Parameter)]
[System.CLSCompliant(false)]
public sealed class CombinatorialValuesAttribute : Attribute, Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial.ICombinatorialValuesProvider
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
[<System.CLSCompliant(false)>]
type CombinatorialValuesAttribute = class
    inherit Attribute
    interface ICombinatorialValuesProvider
Public NotInheritable Class CombinatorialValuesAttribute
Inherits Attribute
Implements ICombinatorialValuesProvider
繼承
CombinatorialValuesAttribute
屬性
實作

建構函式

名稱 Description
CombinatorialValuesAttribute(Object[])

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

屬性

名稱 Description
Values

取得應該傳遞給該參數的值。

方法

名稱 Description
GetValues(ParameterInfo)

取得應該傳遞給參數的值。

適用於