Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / Column Class / Column Constructor / Column Constructor(String,Type)
The name of the column. Cannot be a null reference (Nothing in Visual Basic) or System.String.Empty.
The column's data type.


In This Topic
    Column Constructor(String,Type)
    In This Topic
    Initializes a new instance of the Column class specifying the name of the column and its data type.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal fieldName As String, _
       ByVal dataType As Type _
    )
    'Usage
     
    Dim fieldName As String
    Dim dataType As Type
     
    Dim instance As New Column(fieldName, dataType)
    public Column( 
       string fieldName,
       Type dataType
    )

    Parameters

    fieldName
    The name of the column. Cannot be a null reference (Nothing in Visual Basic) or System.String.Empty.
    dataType
    The column's data type.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also