BinaryData.FromStream Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromStream(Stream, String) | |
FromStream(Stream) |
Creates a BinaryData instance from the specified stream. The stream is not disposed by this method. |
FromStream(Stream, String)
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
public:
static BinaryData ^ FromStream(System::IO::Stream ^ stream, System::String ^ mediaType);
public static BinaryData FromStream (System.IO.Stream stream, string? mediaType);
static member FromStream : System.IO.Stream * string -> BinaryData
Public Shared Function FromStream (stream As Stream, mediaType As String) As BinaryData
Parameters
- stream
- Stream
- mediaType
- String
Returns
Applies to
FromStream(Stream)
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
- Source:
- BinaryData.cs
Creates a BinaryData instance from the specified stream. The stream is not disposed by this method.
public:
static BinaryData ^ FromStream(System::IO::Stream ^ stream);
public static BinaryData FromStream (System.IO.Stream stream);
static member FromStream : System.IO.Stream -> BinaryData
Public Shared Function FromStream (stream As Stream) As BinaryData
Parameters
- stream
- Stream
The stream containing the data.
Returns
A value representing all of the data remaining in stream
.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.