Method GetData
GetData(string)
Retrieves a data object in a specified format; the data format is specified by a string.
public virtual object? GetData(string format)
Parameters
format
stringA string that specifies what format to retrieve the data as. See the DataFormats class for a set of predefined data formats.
Returns
- object
A data object with the data in the specified format, or
null
if the data is not available in the specified format.