共用方式為


DataRowAttribute Constructors

Definition

Overloads

DataRowAttribute()

Initializes a new instance of the DataRowAttribute class.

DataRowAttribute(Object)

Initializes a new instance of the DataRowAttribute class.

DataRowAttribute(Object, Object[])

Initializes a new instance of the DataRowAttribute class which takes in an array of arguments.

DataRowAttribute()

Initializes a new instance of the DataRowAttribute class.

public:
 DataRowAttribute();
public DataRowAttribute ();
Public Sub New ()

Applies to

DataRowAttribute(Object)

Initializes a new instance of the DataRowAttribute class.

public:
 DataRowAttribute(System::Object ^ data1);
public DataRowAttribute (object data1);
new Microsoft.VisualStudio.TestTools.UnitTesting.DataRowAttribute : obj -> Microsoft.VisualStudio.TestTools.UnitTesting.DataRowAttribute
Public Sub New (data1 As Object)

Parameters

data1
Object

The data object.

Applies to

DataRowAttribute(Object, Object[])

Initializes a new instance of the DataRowAttribute class which takes in an array of arguments.

public:
 DataRowAttribute(System::Object ^ data1, ... cli::array <System::Object ^> ^ moreData);
public DataRowAttribute (object data1, params object[] moreData);
new Microsoft.VisualStudio.TestTools.UnitTesting.DataRowAttribute : obj * obj[] -> Microsoft.VisualStudio.TestTools.UnitTesting.DataRowAttribute
Public Sub New (data1 As Object, ParamArray moreData As Object())

Parameters

data1
Object

A data object.

moreData
Object[]

More data.

Applies to