HttpContextExtensionsGetAcceptTypes Method |
Retrieves the Accept Types to be used to determine the content format to be used in responding to requests.
Namespace:
VDS.RDF.Web
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static string[] GetAcceptTypes(
this IHttpContext context
)
<ExtensionAttribute>
Public Shared Function GetAcceptTypes (
context As IHttpContext
) As String()
Parameters
- context
- Type: VDS.RDF.WebIHttpContext
HTTP Context.
Return Value
Type:
String[Missing <returns> documentation for "M:VDS.RDF.Web.HttpContextExtensions.GetAcceptTypes(VDS.RDF.Web.IHttpContext)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IHttpContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also