Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
OwinResponse Class
Microsoft.Owin Namespace
Return to top
OwinResponse.Write Method (Byte[])
Writes the given bytes to the response body stream.
Syntax
public virtual void Write(
byte[] data
)
public:
virtual void Write(
array<unsigned char>^ data
)
abstract Write :
data:byte[] -> unit
override Write :
data:byte[] -> unit
Public Overridable Sub Write (
data As Byte()
)
Parameters
data
Type: System.Byte[]The response data.
Implements
Return to top
OwinResponse.Write Method (Byte[], Int32, Int32)
Writes the given bytes to the response body stream.
Syntax
public virtual void Write(
byte[] data,
int offset,
int count
)
public:
virtual void Write(
array<unsigned char>^ data,
int offset,
int count
)
abstract Write :
data:byte[] *
offset:int *
count:int -> unit
override Write :
data:byte[] *
offset:int *
count:int -> unit
Public Overridable 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.
Implements
IOwinResponse.Write(Byte[], Int32, Int32)
Return to top
OwinResponse.Write Method (String)
Writes the given text to the response body stream using UTF-8.
Syntax
public virtual void Write(
string text
)
public:
virtual void Write(
String^ text
)
abstract Write :
text:string -> unit
override Write :
text:string -> unit
Public Overridable Sub Write (
text As String
)
Parameters
text
Type: System.StringThe response data.
Implements
Return to top