FileSetStream Constructors
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
FileSetStream(IEnumerable<String>) |
Create a new instance using a set of files. |
FileSetStream(IEnumerable<ValueTuple<String,Stream>>) |
Create a new instance using a set of files. |
FileSetStream(IEnumerable<String>)
Create a new instance using a set of files.
public FileSetStream (System.Collections.Generic.IEnumerable<string> fileNames);
new Iot.Device.Common.FileSetStream : seq<string> -> Iot.Device.Common.FileSetStream
Public Sub New (fileNames As IEnumerable(Of String))
Parameters
- fileNames
- IEnumerable<String>
A list of file names
Exceptions
One of the files doesn't exist
Applies to
FileSetStream(IEnumerable<ValueTuple<String,Stream>>)
Create a new instance using a set of files.
public FileSetStream (System.Collections.Generic.IEnumerable<(string FileName, System.IO.Stream? Alternate)> files);
new Iot.Device.Common.FileSetStream : seq<ValueTuple<string, System.IO.Stream>> -> Iot.Device.Common.FileSetStream
Public Sub New (files As IEnumerable(Of ValueTuple(Of String, Stream)))
Parameters
- files
- IEnumerable<ValueTuple<String,Stream>>
A list of file names or streams. If the stream of a pair is non-null, it is used instead of the name
Exceptions
One of the files doesn't exist
A stream was provided that is not readable
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for