Defines names as aliases for the columns in an indexed data source.

Namespace:  MbUnit.Framework
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public HeaderAttribute(
	params string[] columnNames
)
Visual Basic (Declaration)
Public Sub New ( _
	ParamArray columnNames As String() _
)

Parameters

columnNames
Type: array< System..::.String >[]()[]
The names of the columns in the data source in order by index.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if columnNames or if one of the values it contains is null.

See Also