Click or drag to resize

MimeTypesHelperGetWriter Method (IEnumerableString, String)

Selects an appropriate IRdfWriter based on the given MIME Types.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static IRdfWriter GetWriter(
	IEnumerable<string> ctypes,
	out string contentType
)

Parameters

ctypes
Type: System.Collections.GenericIEnumerableString
MIME Types.
contentType
Type: SystemString
The Content Type header that should be sent in the Response to the Request.

Return Value

Type: IRdfWriter

[Missing <returns> documentation for "M:VDS.RDF.MimeTypesHelper.GetWriter(System.Collections.Generic.IEnumerable{System.String},System.String@)"]

Remarks

This method does not take account of any quality/charset preference parameters included in the Accept Header.

Global options pertaining to writers will be applied to the selected writer.

See Also