ComponentOne Xamarin.Android
GetTextFields<T> Method


C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class : GetTextFields<T> Method
The collection view.
if set to true it will return numeric fields.
Gets the text fields of the items of this collection view.
Syntax
'Declaration
 
<IteratorStateMachineAttribute(C1.CollectionView.ICollectionViewEx/d__21`1)> 
<ExtensionAttribute()> 
Public Shared Function GetTextFields(Of T As Class)( _ 
   ByVal collectionView As ICollectionView(Of T), _ 
   Optional ByVal includeNumbers As Boolean _ 
) As IEnumerable(Of String)
'Usage
 
Dim collectionView As ICollectionView(Of T)
Dim includeNumbers As Boolean
Dim value As IEnumerable(Of String)
 
value = ICollectionViewEx.GetTextFields(Of T)(collectionView, includeNumbers)
[IteratorStateMachine(C1.CollectionView.ICollectionViewEx/d__21`1)] 
[Extension()] 
public static IEnumerable<string> GetTextFields<T>( 
   ICollectionView<T> collectionView, 
   bool includeNumbers 
) 
where T: class

Parameters

collectionView
The collection view.
includeNumbers
if set to true it will return numeric fields.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members