Compartir a través de


DataRowAttribute Constructors

Definition

Overloads

DataRowAttribute()

Initializes a new instance of the DataRowAttribute class.

DataRowAttribute(Object[])

Initializes a new instance of the DataRowAttribute class with an array of object arguments.

DataRowAttribute(String[])

Initializes a new instance of the DataRowAttribute class with an array of string arguments.

DataRowAttribute(Object)

Initializes a new instance of the DataRowAttribute class with an array of object arguments.

DataRowAttribute(Object, Object[])

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

DataRowAttribute()

Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs

Initializes a new instance of the DataRowAttribute class.

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

Applies to

DataRowAttribute(Object[])

Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs

Initializes a new instance of the DataRowAttribute class with an array of object arguments.

public DataRowAttribute (params object?[]? data);
new Microsoft.VisualStudio.TestTools.UnitTesting.DataRowAttribute : obj[] -> Microsoft.VisualStudio.TestTools.UnitTesting.DataRowAttribute
Public Sub New (ParamArray data As Object())

Parameters

data
Object[]

The data.

Applies to

DataRowAttribute(String[])

Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs

Initializes a new instance of the DataRowAttribute class with an array of string arguments.

public DataRowAttribute (string?[]? stringArrayData);
new Microsoft.VisualStudio.TestTools.UnitTesting.DataRowAttribute : string[] -> Microsoft.VisualStudio.TestTools.UnitTesting.DataRowAttribute
Public Sub New (stringArrayData As String())

Parameters

stringArrayData
String[]

The string array data.

Applies to

DataRowAttribute(Object)

Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs
Source:
DataRowAttribute.cs

Initializes a new instance of the DataRowAttribute class with an array of object arguments.

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

Parameters

data1data
Object

The data object.

Remarks

This constructor is only kept for CLS compliant tests.

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