| C1.DataEngine.4 Assembly > C1.FlexPivot Namespace > C1FlexPivotEngine Class > GetMetadata Method : GetMetadata(IEnumerable,CancellationToken) Method |
'Declaration Public Overloads Shared Function GetMetadata( _ ByVal dataSource As System.Collections.IEnumerable, _ ByVal cancelToken As System.Threading.CancellationToken _ ) As System.Threading.Tasks.Task(Of Dictionary(Of String,Object))
public static System.Threading.Tasks.Task<Dictionary<string,object>> GetMetadata( System.Collections.IEnumerable dataSource, System.Threading.CancellationToken cancelToken )
Currently supported metadata parts are:
"fields": IList collection containing field information, objects with properties Name (string) and Type (System.Type)
"rowCount": Number of rows in the data source