Jaa


IOwinResponse.Write Method

 

Writes the date contained in the given array to the file.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Overload List

Name Description
System_CAPS_pubmethod Write(Byte[])

Writes the given bytes to the response body stream.

System_CAPS_pubmethod Write(Byte[], Int32, Int32)

Writes the given bytes to the response body stream.

System_CAPS_pubmethod Write(String)

Writes the given text to the response body stream using UTF-8.

See Also

IOwinResponse Interface
Microsoft.Owin Namespace

Return to top

IOwinResponse.Write Method (Byte[])

Writes the given bytes to the response body stream.

Syntax

void Write(
    byte[] data
)
void Write(
    array<unsigned char>^ data
)
abstract Write : 
        data:byte[] -> unit
Sub Write (
    data As Byte()
)

Parameters

Return to top

IOwinResponse.Write Method (Byte[], Int32, Int32)

Writes the given bytes to the response body stream.

Syntax

void Write(
    byte[] data,
    int offset,
    int count
)
void Write(
    array<unsigned char>^ data,
    int offset,
    int count
)
abstract Write : 
        data:byte[] *
        offset:int *
        count:int -> unit
Sub Write (
    data As Byte(),
    offset As Integer,
    count As Integer
)

Parameters

  • offset
    Type: System.Int32

    The zero-based byte offset in the data parameter at which to begin copying bytes.

Return to top

IOwinResponse.Write Method (String)

Writes the given text to the response body stream using UTF-8.

Syntax

void Write(
    string text
)
void Write(
    String^ text
)
abstract Write : 
        text:string -> unit
Sub Write (
    text As String
)

Parameters

Return to top