'Declaration Public Overloads Shared Function GetMetadata( _ ByVal dataSource As IEnumerable, _ ByVal cancelToken As CancellationToken _ ) As Task(Of Dictionary(Of String,Object))
public static Task<Dictionary<string,object>> GetMetadata( IEnumerable dataSource, CancellationToken cancelToken )
Parameters
- dataSource
- Data source collection.
- cancelToken
- Enables task cancellation.
Return Value
Dictionary containing key/value pairs for metadata parts, where key is the name of the part.