次の方法で共有


ResponseExtensions.WriteBinary メソッド

定義

オーバーロード

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 タイプ。

適用対象