ComponentOne FlexPivot for WinForms
GetMetadata(String,String,CancellationToken) Method

C1.DataEngine.4 Assembly > C1.FlexPivot Namespace > C1FlexPivotEngine Class > GetMetadata Method : GetMetadata(String,String,CancellationToken) Method
Path in the server's file system where DataEngine data is saved in files.
The name of a DataEngine table.
Enables task cancellation.
Lists fields with their types and provides other metadata for a DataEngine table.
Syntax
'Declaration
 
Public Overloads Shared Function GetMetadata( _
   ByVal workspace As System.String, _
   ByVal table As System.String, _
   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.string workspace,
   System.string table,
   System.Threading.CancellationToken cancelToken
)

Parameters

workspace
Path in the server's file system where DataEngine data is saved in files.
table
The name of a DataEngine table.
cancelToken
Enables task cancellation.

Return Value

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

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 DataEngine table

See Also

Reference

C1FlexPivotEngine Class
C1FlexPivotEngine Members
Overload List