FlexPivot for WinForms
GetMetadata(IEnumerable,CancellationToken) メソッド

C1.PivotEngine アセンブリ > C1.PivotEngine 名前空間 > C1PivotEngine クラス > GetMetadata メソッド : GetMetadata(IEnumerable,CancellationToken) メソッド
Data source collection.
Enables task cancellation.
Lists fields with their types and provides other metadata for a data source.
シンタックス
'宣言
 
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
)

パラメータ

dataSource
Data source collection.
cancelToken
Enables task cancellation.

戻り値の型

Dictionary containing key/value pairs for metadata parts, where key is the name of the part.
解説

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

参照

C1PivotEngine クラス
C1PivotEngine メンバ
オーバーロード一覧