DataCollection | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / GetTextFields<T> Method
The data collection.
if set to true it will return numeric fields.

In This Topic
    GetTextFields<T> Method
    In This Topic
    Gets the text fields of the items of this data collection.
    Syntax
    'Declaration
     
    Public Shared Function GetTextFields(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       Optional ByVal includeNumbers As Boolean _
    ) As IEnumerable(Of String)
    public static IEnumerable<string> GetTextFields<T>( 
       IDataCollection<T> dataCollection,
       bool includeNumbers
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    includeNumbers
    if set to true it will return numeric fields.

    Type Parameters

    T
    See Also