ResponseExtensions.WriteBinary メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
WriteBinary(HttpResponseBase, Byte[]) |
HTTP 応答の出力ストリームに、指定されていないタイプのバイナリ コンテンツを表すバイトのシーケンスを書き込みます。 |
WriteBinary(HttpResponseBase, Byte[], String) |
HTTP 応答の出力ストリームに、指定された MIME タイプのバイナリ コンテンツを表すバイトのシーケンスを書き込みます。 |
WriteBinary(HttpResponseBase, Byte[])
HTTP 応答の出力ストリームに、指定されていないタイプのバイナリ コンテンツを表すバイトのシーケンスを書き込みます。
public static void WriteBinary (this System.Web.HttpResponseBase response, byte[] data);
static member WriteBinary : System.Web.HttpResponseBase * byte[] -> unit
<Extension()>
Public Sub WriteBinary (response As HttpResponseBase, data As Byte())
パラメーター
- response
- HttpResponseBase
HTTP 応答インスタンス。
- data
- Byte[]
書き込むバイトを格納する配列。
適用対象
WriteBinary(HttpResponseBase, Byte[], String)
HTTP 応答の出力ストリームに、指定された MIME タイプのバイナリ コンテンツを表すバイトのシーケンスを書き込みます。
public static void WriteBinary (this System.Web.HttpResponseBase response, byte[] data, string mimeType);
static member WriteBinary : System.Web.HttpResponseBase * byte[] * string -> unit
<Extension()>
Public Sub WriteBinary (response As HttpResponseBase, data As Byte(), mimeType As String)
パラメーター
- response
- HttpResponseBase
受信する HTTP 応答インスタンス。
- data
- Byte[]
書き込むバイトを格納する配列。
- mimeType
- String
バイナリ コンテンツの MIME タイプ。