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 | |
---|---|---|
Write(Byte[]) | Writes the given bytes to the response body stream. |
|
Write(Byte[], Int32, Int32) | Writes the given bytes to the response body stream. |
|
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
data
Type: System.Byte[]The response data.
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
data
Type: System.Byte[]The response data.
offset
Type: System.Int32The zero-based byte offset in the data parameter at which to begin copying bytes.
count
Type: System.Int32The number of bytes to write.
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
text
Type: System.StringThe response data.
Return to top