NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpRequest.AcceptTypes

String array of client-supported MIME accept types.

[Visual Basic]
Public ReadOnly Property AcceptTypes As String ()
[C#]
public string[] AcceptTypes {get;}
[C++]
public: __property String* get_AcceptTypes();
[JScript]
public function get AcceptTypes() : String[];

Property Value

A String array of client-supported MIME accept types.

Example

[Visual Basic]
<%
' This example captures the string array returned by the AcceptTypes 
' property into an object then writes each element of the array
' to a separate line of Http output.
 
Dim iCount, vType
vType = Request.AcceptTypes
For iCount = 0 To Ubound(vType)
   Response.Write(vType(iCount) & "<br>")
Next iCount
%>

See Also

HttpRequest Class | HttpRequest Members | System.Web Namespace