Returns the format to use for the specified media type or extension, or null if there is no match found

Namespace: BrightstarDB
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public static SparqlResultsFormat GetResultsFormat(
	string resultsMediaTypeOrExtension
)
Visual Basic
Public Shared Function GetResultsFormat ( 
	resultsMediaTypeOrExtension As String
) As SparqlResultsFormat
Visual C++
public:
static SparqlResultsFormat^ GetResultsFormat(
	String^ resultsMediaTypeOrExtension
)
F#
static member GetResultsFormat : 
        resultsMediaTypeOrExtension : string -> SparqlResultsFormat 

Parameters

resultsMediaTypeOrExtension
Type: System..::..String

Return Value

Type: SparqlResultsFormat
A SparqlResultsFormat instance representing the format type and encoding specified in the string, or NULL if no match is found

See Also