ComponentOne FlexPivot for WinForms
C1.PivotEngine Assembly / C1.PivotEngine Namespace / C1PivotEngine 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.

In This Topic
    GetMetadata(String,String,CancellationToken) Method
    In This Topic
    Lists fields with their types and provides other metadata for a DataEngine table.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetMetadata( _
       ByVal workspace As String, _
       ByVal table As String, _
       ByVal cancelToken As CancellationToken _
    ) As Task(Of Dictionary(Of String,Object))
    public static Task<Dictionary<string,object>> GetMetadata( 
       string workspace,
       string table,
       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