ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / ViewModelColumn Class / ViewModelColumn Constructor / ViewModelColumn Constructor(ViewNode,String,String)
The ViewNode whose column is referenced by this ViewNode.
The name of the DataColumn represented by this ViewNode.
The that is used to reference the column.

In This Topic
    ViewModelColumn Constructor(ViewNode,String,String)
    In This Topic
    Creates a new instance of the ViewModelColumn referencing the DataColumn with the specified name that belongs to the DataTable represented by the specified ViewNode, and provides it with the specified alias that is used to reference the column.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal viewNode As ViewNode, _
       ByVal dataColumnName As System.String, _
       ByVal columnAlias As System.String _
    )
    public ViewModelColumn( 
       ViewNode viewNode,
       System.string dataColumnName,
       System.string columnAlias
    )

    Parameters

    viewNode
    The ViewNode whose column is referenced by this ViewNode.
    dataColumnName
    The name of the DataColumn represented by this ViewNode.
    columnAlias
    The that is used to reference the column.
    See Also